|
Boost Users : |
Subject: Re: [Boost-users] [wave] fail to parse variadics macro
From: Edward Diener (eldiener_at_[hidden])
Date: 2014-03-31 18:39:37
On 3/31/2014 3:46 PM, gag maker wrote:
> Hi,
>
> I'm using wave library from boost 1.53.0.
> Library compiled with default settings, meaning
> BOOST_WAVE_SUPPORT_VARIADICS_PLACEMARKERS is set to 1 in wave_config.cpp
>
> Wave driver is also compiled to support variadics.
>
> However, when I try to feed translation unit to wave driver it reports
> following error:
> .../compiler.h:32:1: error: ill formed preprocessor directive: #define
> __builtin_warning(x, y...) (1)
The form '#define __builtin_warning(x, y...)' is not a standard C++
variadic macro but rather a gcc extension to the variadic macro syntax.
Since Wave's intention is to follow the C++ standard as closely as
possible it is not surprising that it gives an error when processing
that non-standard form.
>
> And btw, wave driver was called with --variadics option
>
>
> What went wrong here?
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net