[Bug 1607] __RTEMS_SIZEOF_VOID_P__ flawed design

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Thu Jul 29 14:28:09 UTC 2010


--- Comment #29 from Ralf Corsepius <ralf.corsepius at rtems.org> 2010-07-29 09:28:07 CDT ---
(In reply to comment #26)

> > > i.e. there is nothing wrong in using autoconf's SIZEOF_VOIDP during
> > > compilation, except that you must not export the results in headers.
> > > 
> > What are some non-installed headers in which we might be able to place the
> > macro? 

Think of SIZEOF_VOIDP as a temporary define 
=> You also must not use such defines in exported macros.

But you may use it inside of compiled units (functions inside of libraries).

> > Also, is percpu.h an installed header, and if so does that negate any
> > approach we might take with autoconf?
This has absolutely nothing to do with autoconf. It's fundamental flaw of your

Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the bugs mailing list