gcc -MM and #include <some_cygwin_package_include.h>

Williams, Gerald S (Jerry) gsw@agere.com
Sat Mar 22 00:11:00 GMT 2003


I wrote:
> Meanwhile, I'm looking for a workaround (-I- didn't
> help). I'll poke around other lists, but I'd bet
> somebody's already run into this with Cygwin. "Piss
> off but have a nice day anyway" is an acceptible
> response, but any web/FAQ/message/etc. references
> would be highly appreciated. :-)

After additional browsing though "info gcc", I found
a "workaround". -isystem or -idirafter both add the
magic "system" behavior, even though -I- doesn't.

Aargh! POBHANDA, I guess.

I suppose there's still the issue about whether
/usr/include/python2.2 (and presumably other package
includes) should be considered "system" by default.

-Jerry

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list