stdint definitions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]




Hi all,

I stumbled accros a wired problem today:

I need the ISO standard types uint32_t and the like. So, I found
stdint.h in the uSTL package. Pulled that one into my config, I get a
collision of the definitions with sys/bsdtypes.h (because I'm using the
OpenBSD network stack at the same time) when building the lib/app that
uses stdint.h. For example:

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 found a statement in the archieves from 2007[1] that the bsdtypes
defines should be replaces with somthing "better". I checked both files
and for me the definitions are the same, so that seems to have happened.

Any ideas why the compiler complains here?

Cheers,
Manuel


[1] http://sourceware.org/ml/ecos-discuss/2007-01/msg00171.html
-- 
Manuel Borchers

Web: http://www.matronix.de
eMail: manuel@xxxxxxxxxxx

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss




[Linux Embedded]     [U-Boot V2]     [Linux Kernel]     [Linux MIPS]     [Linux ARM]     [Linux for the Blind]     [Linux Resources]     [Photo]     [Yosemite]     [ISDN Cause Codes]     [ECOS Home]

Add to Google Powered by Linux