[haiku-bugs] [Haiku] #10036: gcc2: Implement -iquote support

  • From: "anevilyak" <trac@xxxxxxxxxxxx>
  • Date: Sun, 29 Sep 2013 21:59:36 -0000

#10036: gcc2: Implement -iquote support
 Reporter:  anevilyak                        |        Owner:  zooey
     Type:  enhancement                      |       Status:  new
 Priority:  low                              |    Milestone:  R1
Component:  Applications/Command Line Tools  |      Version:
 Keywords:                                   |  R1/Development
 Blocking:                                   |   Blocked By:
 Platform:  All                              |  Has a Patch:  0
 It would be nice if our gcc2 supported -iquote. The reason being, while
 implementing libcurl support in libpackage, I came across the following
 problem: including <curl/curl.h> doesn't work for gcc2 from our build
 system, because curl.h then includes some of its other headers via
 #include "filename". Thanks to Ingo, it was determined that this was due
 to the use of -I- in the build system also having the side effect of
 disabling searching in those dirs for quoted includes.

  Consequently, it was determined that implementing iquote support for gcc2
 would be the best way to resolve the problem going forward, as we may
 later encounter the same problem with other 3rd party libraries, though
 it's been worked around for libcurl for now [1].

 [1] http://cgit.haiku-

Ticket URL: <http://dev.haiku-os.org/ticket/10036>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: