[cfe-dev] initial OpenBSD toolchain

Chris Lattner clattner at apple.com
Mon Jun 29 15:21:23 PDT 2009


On Jun 29, 2009, at 3:19 PM, Jonathan Gray wrote:

> No, that shouldn't have been included, while we use a kprintf format
> attribute, __KPRINTF_ATTRIBUTE__ isn't defined by gcc.
>
> Additionally it seems -x assembler-with-cpp doesn't generate
> assembly that gas will accept when compiling locore.o.
> This appears to be due to the lack of something like gcc's
> -traditional-cpp flag.

We don't support "traditional" style preprocessing.  This is the  
really old K&R style, it would be best to update to C89 if possible.   
It's only 20 years old now :)

-Chris



More information about the cfe-dev mailing list