------- Comment #4 from pinskia at gcc dot gnu dot org  2005-11-21 15:01 -------
We have in libstdc++:
#include <time.h>

So this is invalid. -I does:
       -I dir
           Add the directory dir to the list of directories to be searched
           for header files.  Directories named by -I are searched before the
           standard system include directories.  If the directory dir is a
           standard system include directory, the option is ignored to ensure
           that the default search order for system directories and the spe-
           cial treatment of system headers are not defeated .

either use -iquote which is new for 4.0.0 or use -idirafter


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|libstdc++                   |other


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24970

Reply via email to