Eugene Lee wrote:
> For some reason, Apple's GCC does not like the '"' in its assert().

The problem is not with Apple's gcc, nor with the Darwin definition of the
assert() macro, it's with cpp-precomp, Apple's C pre-processor that
implements support for pre-compiled headers.

> There are two different ways to fix this:
>
> 1) change '"' to '\"', which is also legal ANSI C.
>
> 2) CPPFLAGS="-traditional-cpp" ./configure

FYI, the preferred flag is currently "-no-cpp-precomp". Both will work
currently, but only "-no-cpp-precomp" will work correctly with gcc 3.1
whenever that gets released.

Reply via email to