[LLVMdev] Linking strncpy

Reid Spencer reid at x10sys.com
Wed Apr 14 22:55:01 PDT 2004


On Wed, 2004-04-14 at 20:35, Chris Lattner wrote:

> The problem is that the code generated by the C backend cannot include any
> system headers.  If the system header were to have a #define (not a rare
> occurance) the header could arbitrarily change the CBE code in BAAD ways.
> :(

I was thinking of Eric doing something like:

myfile.c:
   #include <string.h>
   #include "cbe_generated_file.c"

Although, why he would eludes me.

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/a80b7758/attachment.sig>


More information about the llvm-dev mailing list