This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: errno.h: ESTRPIPE


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Ralf Corsepius wrote:
> I.e. what you are saying effectively means: Cygwin dictates to newlib
> what other OS using newlib must support.

Nobody is "dictating" anything.  You don't have to "support" ESTRPIPE.
You don't need to use it.  It's not being used by Cygwin itself either;
the purpose of adding it is for building packages on Cygwin which expect
it to be defined (as it is on Linux) for its own use.

> My view is converse: newlib adopts everything, to make packages which
> rely on non-portable constructs workable, instead of encouraging
> developers to make those applications portable.

I don't know about RTEMS, but the vast majority of packages built for
Cygwin are written by *others* for use on other platforms (primarily
Linux),

> Why should we do so? It's Cygwin who wishes to use extensions, RTEMS has
> no use for.

Nobody told you to use ESTRPIPE for anything.  It's just one additional
#define, and I don't see why that harms or impedes anyone in any way
whatsoever.

> I am not convinced: Why no #ifdef __CYGWIN__?

Because it is in no way Cygwin specific.


Yaakov
Cygwin/X
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREIAAYFAkm/DPwACgkQpiWmPGlmQSPOvQCfWxyWf9D0fLZFA/BHQqKcj188
MhsAoJ5cp70nFgiKN7WFqKpa1f8m7QM6
=JX+2
-----END PGP SIGNATURE-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]