Clang: Replacing __attribute((__warning__())) by __attribute__((deprecated()))

Corinna Vinschen
Tue Oct 27 09:00:00 GMT 2015

Hi Olivier,

On Oct 25 18:39, Olivier MARTIN wrote:
> Sorry, I forgot to mention but the issue is related to these invocations in
> newlib/libc/include/stdlib.h such as:
> char * _EXFUN(mktemp,(char *) _ATTRIBUTE ((__warning__ ("the use of `mktemp'
> is dangerous; use `mkstemp' instead"))));

Yes, we can change that to deprecated.  Patch is welcome (with the same
message text as for the warning message, IMHO).


Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <>

More information about the Newlib mailing list