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: Compiler warnings about inline functions with gcc-3.3.1


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


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