libstdc++ breakage when overriding system headers
Jason Merrill
jason_merrill@redhat.com
Wed Aug 22 03:23:00 GMT 2001
>>>>> "Jonathan" == Jonathan Larmour <jlarmour@redhat.com> writes:
> In file included from
> /home/jlarmour/sourceware/test/arm-elf/include/g++-v3/bits/std_ctime.h:40,
...
> /home/jlarmour/sourceware/test/arm-elf/H-i686-pc-linux-gnu/arm-elf/include/time.h:35:
To avoid this sort of problem, only a file named time.h should
#include_next time.h, presumably with an #ifdef _STD_CTIME_H or some such.
But that still leaves the question of how to override the C library headers
and still have the libstdc++ headers come before them. I don't think the
current cpp flags provide any way to do this.
Jason
More information about the Libstdc++
mailing list