This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Compiler warnings about inline functions with gcc-3.3.1
- From: "Gary Thomas" <gary at mlbassoc dot com>
- To: "Uwe Kindler" <ukindler at htwm dot de>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Tue, 28 Oct 2003 01:54:27 -0700 (MST)
- Subject: Re: [ECOS] Compiler warnings about inline functions with gcc-3.3.1
- References: <001201c39d30$3cf6bca0$2c79378d@uwepc>
Uwe Kindler said:
> Hello,
>
> if I compile the default configuration for EDOSK2674 i get a lot of warnings
> about
> inline functions i.e.:
>
> /ecos-d/ecos/packages/services/memalloc/common/v2_0/src/memfixed.cxx: In
> member
> function `cyg_uint8* Cyg_Mempool_Fixed::alloc()':
> /ecos-d/ecos/workdir/default_azuki_install/include/cyg/memalloc/mempolt2.inl
> :99: warning: inlining
> failed in call to `cyg_uint8* Cyg_Mempolt2<T>::alloc(int) [with T =
> Cyg_Mempool_Fixed_Implementation]'
> /ecos-d/ecos/packages/services/memalloc/common/v2_0/src/memfixed.cxx:125:
> warning: called
> from here
>
> I use the GNUH8 v0304 toolchain based on gcc-3.3.1, binutils-2.14 and newlib
> sources as on 21st August 2003.
> With an very old toolchain these warnings does not occur. Can I ignore these
> warnings or should I compile
> an toolchain based on older gcc sources. The H8S toolchain is always under
> development by Kpit and the
> newer versions contain lots of bugfixes and improvements so I always try to
> use the newes one.
>
Ignore them. As far as I can tell, GCC is now simply telling us what it
has been doing all along - not inlining certain functions even when we ask
for it. It should have no effect on your system.
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss