#106 ansidecl.h gives conflicts

Known_bugs
closed
gcc (462)
2002-05-26
2002-01-18
Paul
No

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

Discussion

  • Luke Dunstan

    Luke Dunstan - 2002-05-22

    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?

     
  • Danny Smith

    Danny Smith - 2002-05-26
    • status: open --> closed
     
  • Danny Smith

    Danny Smith - 2002-05-26

    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)

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks