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: Obsolete and Removed POSIX Functions


On 2016-02-15 13:09, Joel Sherrill wrote:
I am unsure how methods noted by POSIX as obsolete should
be guarded.

http://pubs.opengroup.org/onlinepubs/9699919799/xrat/V4_xsh_chap01.html

For example, asctime() and asctime_r() were marked as obsolescent
in Issue 7.

obsolete != removed:

http://man7.org/linux/man-pages/man3/asctime.3.html

Similarly, that page lists some methods that should be removed.
I am assuming it is OK to still support them but what should the
guards be?

Did you see my RFC:

https://sourceware.org/ml/newlib/2016/msg00072.html

There are several examples therein, which can easily be found by searching for "&& !__"

--
Yaakov


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