[okl4-developer] Cannot use the C library with C++?

Frank Kaiser frank.kaiser at opensynergy.com
Tue Oct 7 20:12:31 EST 2008


> -----Original Message-----
> From: Tomas Hruby [mailto:thruby at gmail.com] On Behalf Of Tomas Hruby
> Sent: Tuesday, October 07, 2008 10:57 AM
> To: Frank Kaiser
> Cc: OKL4-devel
> Subject: Re: [okl4-developer] Cannot use the C library with C++?
> 
> Hi,
> 
> > My observation is that SCONS even then stops on warnings when the
> > '-Werror' option is removed from the GNU compiler command line. My
guess
> > is that SCONS stops whenever a build command returns non-0, and I
think
> > the GNU compiler returns different non-0 values for warnings and
errors.
> > So the task is to teach SCONS not to stop on the warnings return
value
> > given by the compiler, or to adjust the compiler's warnings
generation,
> > if possible for the given case.
> 
> I am getting heaps of warnings when compiling with a newer gcc than
> the officially supported and -Wno-error works fine for me. It still
> shows the warnings (actually, I don't want to get rid of them), but
> the compilation does not fail.
> 
> 		T.
Hi, Tomas

Which gcc did you try, and for which platform? Mine was 'arm-linux-gcc
3.4.4' as provided by OKL.

Frank



More information about the Developer mailing list