[llvm-dev] Compilation errors

Joerg Sonnenberger via llvm-dev llvm-dev at lists.llvm.org
Tue Dec 1 04:53:18 PST 2015


On Tue, Dec 01, 2015 at 09:49:18AM +0100, Arno Bastenhof via llvm-dev wrote:
> As an aside, is there any reason for why C++-style comments were used
> in C files at all, or should they simply be replaced with the usual /*
> ... */ in accordance with pre-C99 standards?

They are valid C99 and quite a bit of the compiler-rt source is C99,
too. Personally, I don't see any reason why this has to support direct
build with Visual Studio or other compilers that haven't caught up with
a 16 year old standard.

Joerg


More information about the llvm-dev mailing list