[llvm-commits] [llvm] r155661 - /llvm/trunk/runtime/libprofile/CommonProfiling.c

Benjamin Kramer benny.kra at googlemail.com
Fri Apr 27 08:17:22 PDT 2012


On 27.04.2012, at 15:23, Joerg Sonnenberger wrote:

> On Fri, Apr 27, 2012 at 01:54:16PM +0100, James Molloy wrote:
>> This commit causes our build to fail because of the use of C++ style
>> comments in a file compiled for C90.
>> 
>> Could you please change to C-style comments?
> 
> Have you considered just using a C99 compiler?

If you teach MSVC to understand the young C99 standard we can switch to compiling in C99 mode.

GCC warns when it encounters a // comment in C89 mode, I suppose someone is using -Werror here.

- Ben
> 
> Joerg
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits





More information about the llvm-commits mailing list