This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: fixinc and compatibility


Daniel Elstner wrote:-

> My fault, apparently I got something wrong.
> 
> I found some interesting code in "g++/bits/std_cstring.h":
> 
> #pragma GCC system_header
> #include_next <string.h>
> 
> When adding '-I/usr/include', gcc cannot find "string.h".
> Any ideas?

Yeah.  Don't -I/usr/include :-)

Neil.


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