|
Boost : |
Subject: Re: [boost] [Filesystem] problems with g++ -std=c++0x
From: Giovanni Piero Deretta (gpderetta_at_[hidden])
Date: 2010-08-26 10:25:20
On Thu, Aug 26, 2010 at 8:43 AM, Roland Bock <rbock_at_[hidden]> wrote:
[...]
> In the meantime, I found that variadic templates work just fine in gcc-4.4,
> even without the -std=c++0x option, but they emit warnings. According to the
> gcc mailing list, these cannot be suppressed (except by turning on said
> option). So maybe, I'll turn on that option for those parts of the code
> which actually need the variadic templates and turn it off otherwise...
>
Completely untested, so I have no idea if it actually works, but...
did you try putting the GCC __extension__ keyword on the offending line?
-- gpd
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk