This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fwd: Re: later w32api package required to build cygwin


Nicholas Wourms wrote:

IIRC, the new gcc has started to ignore system directory overrides (in addition to barfing out that stupid message). Using -isystem instead of -I for including the local w32api dir might be the solution here, although I was just lazy and copied the header over to the system dir.
After investigating a few minutes, I found that in Makefile.common changing:

w32api_include:=-I$(w32api_source)/include

to

w32api_include:=-isystem $(w32api_source)/include

ought to do the trick.

Cheers,
Nicholas


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]