<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Just a stab here, but perhaps to be current with Apple and it's
    focus on LLVM/Clang and its included focus on OpenCL which is C99
    based for writing kernels, it makes sense for Clang to be C99, by
    default with GCC no longer the default?<br>
    <br>
    -  Marc<br>
    <br>
    On 07/20/2012 03:29 PM, Dmitri Gribenko wrote:
    <blockquote
cite="mid:CA+Y5xYcM=q-wKK0btKk6iwYE+A7YSPo93ngoa36EYpCYztE03Q@mail.gmail.com"
      type="cite">
      <pre wrap="">Hi,

Currently LLVM build system does not pass any -std flags to C compiler
while compiling c-index-test.c.  This makes clang default to C99, but
gcc defaults to C89.  I think that LLVM build system should be fixed
to specify standard explicitly.

I'm not familiar with internals of LLVM build systems, could anyone
take a look at this and maybe fix it?

Is there a particular reason to choose C89 over C99?

Dmitri

</pre>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      Marc J. Driftmeyer<br>
      Email :: <a href="mailto:mjd@reanimality.com">mjd@reanimality.com</a><br>
      Web :: <a href="http://www.reanimality.com">http://www.reanimality.com</a><br>
      Cell :: (509) 435-5212
    </div>
  </body>
</html>