rtems waf, examples, and RTEMS_POSIX_API
Joel Sherrill
joel at rtems.org
Mon Nov 30 20:43:13 UTC 2020
On Mon, Nov 30, 2020 at 1:06 PM Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:
> On 30/11/2020 20:00, Joel Sherrill wrote:
>
> > Applications can use something like:
> >
> > #if __RTEMS_MAJOR__ >= 5
> >
> > POSIX threads are always enabled ...
> >
> > #endif
> >
> >
> > This is a change to our public API that was completely unnecessary.
> >
> > We do not require changes to application code when it can be avoided.
> If you enable the POSIX API, then you don't have to change anything in
> your application. You can use now more of the POSIX API without having
> to enable it explicitly. It is up to you if you want to rely on this or
> not.
>
What about rtems-libbsd? It fails to build because of this flag having
changed
meaning.
I think we broke a contract on what the meaning of a published
feature macro means.
--joel
>
> --
> embedded brains GmbH
> Herr Sebastian HUBER
> Dornierstr. 4
> 82178 Puchheim
> Germany
> email: sebastian.hubere at embedded-brains.de
> phone: +49-89-18 94 741 - 16
> fax: +49-89-18 94 741 - 08
>
> Registergericht: Amtsgericht München
> Registernummer: HRB 157899
> Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
> Unsere Datenschutzerklärung finden Sie hier:
> https://embedded-brains.de/datenschutzerklaerung/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20201130/9738572a/attachment.html>
More information about the devel
mailing list