This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: STLPort & eCos again


Santiago Lafon wrote:
PD: The compiler message is
arm-elf-g++ -I../stlport -I/home/santiagol/prog/ecos/Plataforma_eCos/lib/rtu
dp/pruebas/prueba_str_01_install/include -W -Wno-sign-compare -Wno-unused -
Wno-uninitialized -msoft-float -mcpu=arm7tdmi -mno-short-load-words -Wall -
Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -f
init-priority -D__ECOS__=1 -fno-vtable-gc -frtti -fexceptions -I/gnutools/T
ARGET/include/ -O0 -g codecvt.cpp -c -o ../lib/obj/ecos/Release/codecvt.o
cc1plus: warning: ignoring command line option '-finit-priority'
cc1plus: warning: (it is valid for C++ but not the selected language)
was discussing this interesting and puzzling warning with a colleague. gist of his suggestion - could it be that your (compiled version of) compiler doesn't recognise .cpp extension as C++ file? try some small experiments with simple test cases.

try changing the extension of your file(s) to .cxx or .C . see if things change.

sandeep


-- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]