Opened 11 years ago
Last modified 6 years ago
#10036 closed enhancement
gcc2: Implement -iquote support — at Initial Version
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
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-os.org/haiku/commit/?id=5ef03b1bda13fe8e7745649db011f17d55bc8178