This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: STLPort & eCos again
- From: sandeep <shimple0 at yahoo dot com>
- To: Santiago Lafon <lafon at fing dot edu dot uy>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Tue, 23 Nov 2004 19:35:25 +0530
- Subject: Re: [ECOS] STLPort & eCos again
- References: <00d601c4d165$9a501c60$6400a8c0@santiagol>
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