This is the mail archive of the ecos-discuss@sourceware.org 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: stdint definitions


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


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