lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hey

I've just run into a strange build issue when I was tinkering with clang's -Weverything build option.

Specifically, it's complaining about _XOPEN_SOURCE, _LARGEFILE_SOURCE and _FILE_OFFSET_BITS in lprefix.h being reserved identifiers.

It seems like in section 7.1.3 of C99, any identifier in any scope, which begins with an underscore and a capital letter, is reserved.

Is Lua intending to be C99 compliant?

--
Cheers,

Chris