warning output depending on kind of include
Gokhan Kisacikoglu
kisa@centropolisfx.com
Mon Jun 10 10:15:00 GMT 2002
> Can anyone explain this behavior ?
This doesn't sound like a proper behavior, apparently your current
directory is defined as a system directory implicitely as well and it is
not generating warning messages for system header files (included using
the system include path). I am not aware of such a flag on gcc, so I
guess this is how it is defined internally...
I guess the fact that -I. is implicitely defined as the system path is
totally bogus, check out your default include paths. I do not know how
to check this, but probably this is a configuration issue as your linux
box doesn't behave this way, neither my gcc compiler on my irix box.
Gokhan
More information about the Gcc-help
mailing list