Stephen Warren wrote:
> Phil Dibowitz wrote:
>> Stephen Warren wrote:
>>> Latest libconcord.h contains:
>>>
>>> static inline void debug(const char *str) {}
>>>
>>> This causes a build failure because inline isn't a valid keyword in
>>> standard ANSI C. Simply removing "inline" seems to fix the problem.
>> Already fixed...
>
> I still get this:
>
> ../libconcord/libconcord.h:47:19: error: anonymous variadic macros were
> introduced in C99
This, and the missing strdup prototype, are both direct fallouts of
using the -ansi -pedantic-errors compiler flags.
We only do this to ensure we don't use C99 constructs, so we can build
with Microsoft compilers that don't support C99.
I propose we replace "-ansi -pedantic-errors" with "-std=c99". I believe
we can solve any subsequent Windows build problems by forcing
concordance.c to be built as C++ instead of C when compiling on Windows,
since most of C99 is in C++.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
concordance-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/concordance-devel