Clang: Replacing __attribute((__warning__())) by __attribute__((deprecated()))
Corinna Vinschen
vinschen@redhat.com
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).
Thanks,
Corinna
--
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: <http://sourceware.org/pipermail/newlib/attachments/20151027/b265a8f9/attachment.sig>
More information about the Newlib
mailing list