ansidecl.h contains the following ifndef:
#ifndef
IN_GCC
...
#endif
in it is code which should NEVER be
included.
However, with dumpspecs gcc (2.95.3-6)
indicates
that it's not defined.
If I pass -DIN_GCC to gcc, my code compiles
fine.
Either remove the obsolete part or add
the IN_GCC
define.
Paul
Logged In: YES
user_id=30442
I don't think this is a Mingw issue because ansidecl.h is
installed as part of gcc, so code that includes it on any
platform would have to work around any conflicts it gives with
other headers. For example, you can do "#undef CONST", etc.
after including ansidecl.h. Does anyone have anything to add?
Logged In: YES
user_id=11494
Not a mingw bug. If you still think this is worth
pursuing, please report bug to libiberty maintainers
(binutils)