[cfe-dev] Unknown pragma warning in newlib
Chris Lattner
clattner at apple.com
Thu Jul 7 09:39:57 PDT 2011
On Jul 7, 2011, at 8:46 AM, Joel Sherrill wrote:
> Hi,
>
> Pushing more on *-*-rtems*, I came across
> a pragma in newlib that apparently gcc
> knows that clang does not.
>
> $ cat j.c
> char * mktemp (char *) __attribute__ ((__warning__ ("the use of `mktemp'
> is dangerous; use `mkstemp' instead")));
Hi Joel,
Please file a bugzilla @ http://llvm.org/bugs/ to track this feature request. Better yet, send in a patch :). It would be very straight-forward to accept and ignore this attribute.
-Chris
More information about the cfe-dev
mailing list