This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Compiler warnings about inline functions with gcc-3.3.1
- From: "Uwe Kindler" <ukindler at htwm dot de>
- To: <ecos-discuss at sources dot redhat dot com>
- Date: Tue, 28 Oct 2003 09:48:18 +0100
- Subject: [ECOS] Compiler warnings about inline functions with gcc-3.3.1
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.
Thank you very much
Uwe Kindler
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss