This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: stdint definitions
- From: Tarmo Kuuse <tarmo dot kuuse at mail dot ee>
- To: ecos-discuss at sources dot redhat dot com
- Date: Thu, 05 Aug 2010 11:34:30 +0300
- Subject: [ECOS] Re: stdint definitions
- References: <1280912794.2595.22.camel@netxaccos>
Hi Manuel,
On 04.08.2010 12:06, Manuel Borchers wrote:
install/include/sys/bsdtypes.h:37: error: redefinition of typedef âint16_tâ
install/include/stdint.h:109: error: previous declaration of âint16_tâ was here
I vaguely remember wrestling similar errors a while back. I don't
remember the specifics, but these definitions do clash unless included
within some higher level header. E.g. avoid #including bsdtypes.h; try
network.h instead. Perhaps something similar applies to stdint.h.
Sorry for vague answer, perhaps someone wiser can elaborate.
--
Kind regards,
Tarmo
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss