[LLVMdev] Linking strncpy
Reid Spencer
reid at x10sys.com
Wed Apr 14 23:35:01 PDT 2004
> You don't need to do this to get those annoying GCC warnings. They come
> out whenever you compile a C program produced by the LLVM CBE that uses
> certain GCC "builtins", like memcpy... :(
>
> -Chris
That's weird. Perhaps GCC knows about its own builtin functions and the
prototypes for them so that if you declare a similar function with the
wrong prototype you get the warning?
Reid.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20040414/770f81f3/attachment.sig>
More information about the llvm-dev
mailing list