On 7/24/12 2:29 PM, "Nick Kew" <n...@apache.org> wrote:
>
>On 24 Jul 2012, at 18:23, Cantor, Scott wrote:
>
>> I'm still investigating, just wondering if anybody has seen this.
>
>Yes.  It's not new: C++ doesn't like those macros.
>
>Simple fix is to enclose them in extern "C" { ... }.
>Alternatively, expand them by hand as per C rules.

Actually, I had this wrapped already. What broke is that this particular
build is turning on AP_HAVE_DESIGNATED_INITIALIZER, which is based on:

#if (defined(__GNUC__) && !defined(__cplusplus))                \
     || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L)
#define AP_HAVE_DESIGNATED_INITIALIZER
#endif

The second half of that ifdef is activating even for g++, which is
definitely not supposed to happen. Not sure why yet.


-- Scott

Reply via email to