All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] Problem with #define uint  "i"
@ 2006-01-06  9:59 Wolfgang Grandegger
  2006-01-06 16:21 ` Philippe Gerum
  0 siblings, 1 reply; 2+ messages in thread
From: Wolfgang Grandegger @ 2006-01-06  9:59 UTC (permalink / raw)
  To: RTnet-users; +Cc: xenomai

Hallo,

when trying to build RTnet with Xenomai and Linux 2.4.25 for PowerPC, I 
stumbeld over the following problem:

In "linuxppc_2_4_devel/include/asm-generic/xenomai/wrappers.h" there is 
defined:

   #define ulong "i"
   #define uint  "i"

This makes trouble when a driver uses the types uint or ulong, which is 
the case for the MPC RTnet drivers. Can we use different names for the 
above definitions?

Thanks.

Wolfgang.


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

* Re: [Xenomai-core] Problem with #define uint  "i"
  2006-01-06  9:59 [Xenomai-core] Problem with #define uint "i" Wolfgang Grandegger
@ 2006-01-06 16:21 ` Philippe Gerum
  0 siblings, 0 replies; 2+ messages in thread
From: Philippe Gerum @ 2006-01-06 16:21 UTC (permalink / raw)
  To: Wolfgang Grandegger; +Cc: xenomai, RTnet-users

Wolfgang Grandegger wrote:
> Hallo,
> 
> when trying to build RTnet with Xenomai and Linux 2.4.25 for PowerPC, I 
> stumbeld over the following problem:
> 
> In "linuxppc_2_4_devel/include/asm-generic/xenomai/wrappers.h" there is 
> defined:
> 
>   #define ulong "i"
>   #define uint  "i"
> 
> This makes trouble when a driver uses the types uint or ulong, which is 
> the case for the MPC RTnet drivers. Can we use different names for the 
> above definitions?
> 

Yes, will fix in Xenomai. Actually, since module_param() has been 
backported in its simplest forms to 2.4, the above hack should be useless.

> Thanks.
> 
> Wolfgang.
> 
> _______________________________________________
> Xenomai-core mailing list
> Xenomai-core@domain.hid
> https://mail.gna.org/listinfo/xenomai-core
> 


-- 

Philippe.


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

end of thread, other threads:[~2006-01-06 16:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-06  9:59 [Xenomai-core] Problem with #define uint "i" Wolfgang Grandegger
2006-01-06 16:21 ` Philippe Gerum

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.