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: Quotes and Brackets In Include Directives


Eric Lemings wrote:
> 
> I always thought that:
> 
> #include <string.h>
> 
> would include the string.h header in the "system" include path while:
> 
> #include "string.h"
> 
> would include a different string.h header file in the "local" include
> path.
> 
> This doesn't seem to be the case in gcc-3.0.1 at least.  The first form
> is including the local version rather than the system version of the
> string.h header.  This never happened before 3.0.1.  Is this new
> behavior?  How do I distinguish the two header files?
> 
> Thanks,
> Eric.

GCC fixes all of the system's include files and puts them
in its own directories, so you wouldn't have any "system"
headers at all.

-- 
Robert Boehne             Software Engineer
Ricardo Software   Chicago Technical Center
TEL: (630)789-0003 x. 238
FAX: (630)789-0127
email:  rboehne@ricardo-us.com


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