[adtools] Re: Preprocessor symbol clashes

  • From: Thomas Frieden <thomasf@xxxxxxxxxxxxxxxxxxxxxxxxxx>
  • To: adtools@xxxxxxxxxxxxx
  • Date: Tue, 19 Jul 2005 11:41:18 +0200

HI,

Andrija Antonijevic wrote:

Since there were builds of the native compiler before, and I haven't seen anybody complaining, I'd like to know if that problem is known to others as well ?


I don't think I ever encountered that.


It might be related to the new clib2 headers, since they are likely to pull in exec/types.h at one point.

cp-demangle.c:1408: error: static declaration of 'cplus_demangle_operators' follows non-static declaration
/home/thomas/source/gcc/libstdc++-v3/../libiberty/cp-demangle.h:135: error: previous declaration of 'cplus_demangle_operators' was here
cp-demangle.c:1749: error: static declaration of 'cplus_demangle_builtin_types' follows non-static declaration
/home/thomas/source/gcc/libstdc++-v3/../libiberty/cp-demangle.h:140: error: previous declaration of 'cplus_demangle_builtin_types' was here


Something's wrong with the build process there. This situation shouldn't arrise since it seems to be taken care of with CP_STATIC_IF_GLIBCPP_V3 define and redefinition of cplus_demangle_fill_name etc in cp-demangle.c:107 and so on. It is possible that your build directory has gone wrong somehow - perhaps doing a fresh configure and build in an empty directory might do the trick?


No, tried that. Removed everything, configured again, but the problem remains. I manually changed the files now to get it to compile...

If not, there's something very strange going on and the next step would probably be to use the same line that the compiler is using to compile the file but with --verbose added or asking it to just preprocess the file to see if it will reveal anything interesting.


Preprocessing doesn't reveal anything, since the problem is probably somewhat preprocessor related...

Well, if it only happens for me, it's probably my installation...


Regards,

--
Thomas Frieden <ThomasF@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Hyperion Entertainment

- Naur dan i-deryg lhuin

______________________________________________________________________________
Amiga Development tools ML - //www.freelists.org/list/adtools
Homepage...................: http://www.sourceforge.net/projects/adtools
Listserver help............: mailto:adtools-request@xxxxxxxxxxxxx?Subject=HELP

Other related posts: