[cfe-dev] [ping] extra libclang functionality for the xdress project
Geoffrey Irving
irving at naml.us
Wed Nov 13 11:39:11 PST 2013
On Wed, Nov 13, 2013 at 11:29 AM, Dmitri Gribenko <gribozavr at gmail.com> wrote:
> On Wed, Nov 13, 2013 at 11:17 AM, Geoffrey Irving <irving at naml.us> wrote:
>> Great! There is no hurry, since I'm not blocked, and I still have
>> various other patches to clean up. When you do get around to them,
>> feel free to ask for large rewrites, given that this is intended to be
>> a long term stable API.
>>
>> Quick configuration question: when Anthony tried to compile my code he
>> ran into a bunch of non-C99 errors:
>>
>> c-index-test.c:1299:3: error: ‘for’ loop initial declarations are
>> only allowed in C99 mode
>>
>> Is there a configure option to make llvm+clang builds stricter so that
>> I can catch such errors in future?
>
> CMake build passes -std=c89 for c-index-test.
I don't see that, which I suppose means I'm not building with cmake.
Does toplevel "configure" as recommended in the "Getting Started" page
set up a different build system?
cd llvm
./configure
make
Geoffrey
More information about the cfe-dev
mailing list