public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] redefinition of `cyg_uint32'
@ 2006-05-17 15:07 Juergen Lambrecht
  2006-05-17 15:58 ` Andrew Lunn
  0 siblings, 1 reply; 8+ messages in thread
From: Juergen Lambrecht @ 2006-05-17 15:07 UTC (permalink / raw)
  To: ecos-discuss

Hello,

I get compiler errors for all `cyg_uintxxx' types, e.g.

redefinition of `cyg_uint32'

This is because the build directory 
ecos_ims/install/include/linux/types.h contains the following wrong code:

#include "cyg/infra/cyg_type.h"

#define uint8_t cyg_uint8
#define uint16_t cyg_uint16
#define uint32_t cyg_uint32

#define int8_t cyg_int8
#define int16_t cyg_int16
#define int32_t cyg_int32

The types above are redefined because "cyg/infra/cyg_type.h" already 
defines them (ecos/packages/infra/current/include/cyg_type.h

Why is the linux types.h wrong?

Thanks,
Juergen Lambrecht


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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-05-23  8:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-17 15:07 [ECOS] redefinition of `cyg_uint32' Juergen Lambrecht
2006-05-17 15:58 ` Andrew Lunn
2006-05-18  2:59   ` [ECOS] error building ecos application for LEON Agus Ariffianto
2006-05-18 14:45   ` [ECOS] redefinition of `cyg_uint32' Jürgen Lambrecht
2006-05-18 14:54     ` Andrew Lunn
2006-05-18 21:40       ` Jurgen Lambrecht
2006-05-23  8:23       ` [ECOS] Patch for " Juergen Lambrecht
2006-05-23  8:25         ` [ECOS] " Andrew Lunn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).