Opened 7 years ago

Closed 16 months ago

#10036 closed enhancement (no change required)

gcc2: Implement -iquote support

Reported by: anevilyak Owned by: zooey
Priority: low Milestone: R1
Component: Applications/Command Line Tools Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description (last modified by anevilyak)

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].


Change History (2)

comment:1 by anevilyak, 7 years ago

Description: modified (diff)

comment:2 by waddlesplash, 16 months ago

Resolution: no change required
Status: newclosed

At this point it's just not worth adding such support. Libpackage no longer uses CURL though, so the hack is gone, and this ticket can be closed I guess.

Note: See TracTickets for help on using tickets.