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]
Other format: [Raw text]

Re: Problem with <cstdio> and AIX 4.3.3


>>>>> "Chip Cuntz" writes:

Chip> g++ -c  -I/usr/include -I../include -D__AIX__ -D__UNIX__ com_bmf.c

	I just noticed something suspicious about your commandline: why
are you explicitly adding -I/usr/include?  The compiler implicitly
searches that directory already.  Your adding it to the commandline is
altering the search order, probably causing GCC to find a different
version of some header file than its own, internal version.

David


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