[Bug 1742] Warnings in system headers

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Thu Feb 24 10:18:39 UTC 2011


https://www.rtems.org/bugzilla/show_bug.cgi?id=1742

--- Comment #5 from Sebastian Huber <sebastian.huber at embedded-brains.de> 2011-02-24 04:18:39 CST ---
(In reply to comment #4)
> Seems to me as if you haven't understood how these things work.
> 
> The 1st patch is worth deeper investigation, but the second definitely is wrong
> without any doubt.

At present <sys/cdefs.h> and <rtems/bsd/sys/cdefs.h> do not include other
header files.  The <sys/cdefs.h> is a part of Newlib and thus more general than
the RTEMS specific <rtems/bsd/sys/cdefs.h>.  The <rtems/bsd/sys/cdefs.h>
defines things also defined in <sys/cdefs.h>.  Thus it is natural to use the
definitions from <sys/cdefs.h> in <rtems/bsd/sys/cdefs.h>.

What is here definitely wrong without any doubt?

-- 
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