[okl4-developer] Cannot use the C library with C++?
Tomas Hruby
thruby at cs.otago.ac.nz
Tue Oct 7 20:20:08 EST 2008
On Tue, Oct 07, 2008 at 11:12:31AM +0200, Frank Kaiser wrote:
> > -----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.
sparc64-unknown-linux-gnu-gcc-4.2.4 (cross-compiler x86->sparc64)
>
> Frank
>
More information about the Developer
mailing list