Re: MOD5234 - problem with float-to-string routines
Posted: Fri May 03, 2013 6:38 am
ecasey:
The problem is the "#include <iostream>" itself;
the include chain leads to the file:
C:\nburn\gcc-m68k\m68k-elf\include\c++\4.2.1\string
within this I found:
#undef strcoll
#undef strxfrm
which seems not to have been defined before.
----------------------------------------------------------------------------------------
tod:
I'm using NNDK Release 2.6.1 and GNU compiler Version 4.2.1.
I disabled the optimization, as you suggested, and it worked!
-O1 and -O2 produced the error, as before.
I'm not sure if we can go without optimization - I'm gonna go in for a closer look on your discussion with linhm (who seems to have had a similar problem some years ago) next week.
The problem is the "#include <iostream>" itself;
the include chain leads to the file:
C:\nburn\gcc-m68k\m68k-elf\include\c++\4.2.1\string
within this I found:
#undef strcoll
#undef strxfrm
which seems not to have been defined before.
----------------------------------------------------------------------------------------
tod:
I'm using NNDK Release 2.6.1 and GNU compiler Version 4.2.1.
I disabled the optimization, as you suggested, and it worked!
-O1 and -O2 produced the error, as before.
I'm not sure if we can go without optimization - I'm gonna go in for a closer look on your discussion with linhm (who seems to have had a similar problem some years ago) next week.