[Bug 1651] Remove RTEMS_INLINE_ROUTINE
bugzilla-daemon at rtems.org
bugzilla-daemon at rtems.org
Wed Aug 11 14:21:31 UTC 2010
https://www.rtems.org/bugzilla/show_bug.cgi?id=1651
--- Comment #6 from Sebastian Huber <sebastian.huber at embedded-brains.de> 2010-08-11 09:21:30 CDT ---
(In reply to comment #4)
> (In reply to comment #3)
[...]
> > What is the problem with ISO C 99
> There are several problems.
>
> One is c99 support in GCC being incomplete and being a moving target.
The current support is not that bad:
http://gcc.gnu.org/c99status.html
Nothing is missing for RTEMS from my point of view.
>
> Another one is c99 and gnu-extension not being 100% compatible, e.g. "inline"
> and "__inline__" not being exact equivalents.
After reading http://gcc.gnu.org/onlinedocs/gcc/Alternate-Keywords.html I think
that they are equivalent.
>
> What would be required to be done here, would be trying to compile RTEMS with
> --stdc=c99 (Of head, without having checked the manuals) and to check the
> resulting code/object files for compatibility.
>
>
> > and which standard do we actually use?
> We use whatever is the default in GCC - I don't recall what it currently is.
>
> IIRC, it's a subset of c99 + gnu-extensions.
This is reasonable due to our GCC affinity. Maybe we should switch from this
proprietary standard to an official standard like ISO C 99 to make it easier in
the future if we want to choose a different compiler.
--
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