Boost logo

Boost Users :

Subject: Re: [Boost-users] [xpressive][proto] Generates VS2010 C4714 in 1.49 but not in 1.48
From: Lawry, Brian (blawry_at_[hidden])
Date: 2012-04-27 13:10:04


Hi Eric.

I replaced everything under ..\boost-1_49\boost\proto with the version
from trunk yesterday,
but I still get the warnings. "/DBOOST_FORCEINLINE=inline" works for me
(performance is
not an issue in my application).

Thanks.

Brian

>Message: 1
>Date: Wed, 25 Apr 2012 12:44:46 -0700
>From: Eric Niebler <eric_at_[hidden]>
>To: boost-users_at_[hidden]
>Subject: Re: [Boost-users] [xpressive][proto] Generates VS2010 C4714
> in 1.49 but not in 1.48
>Message-ID: <4F98542E.9080400_at_[hidden]>
>Content-Type: text/plain; charset=ISO-8859-1
>On 4/24/2012 11:33 PM, Eric Niebler wrote:
>=> On 4/24/2012 2:48 PM, Lawry, Brian wrote:
>>> I would be OK with suppressing the warning, but I haven't been able
>>> to do so. Putting "#pragma warning(disable : 4714)" in my source
>>> file and in boost/xpressive/detail/core/ sub_match_vector.hpp and in

>>> boost/proto/transform/call.hpp does not suppress the warning. Using

>>> the "disable specific warnings" compiler switch /wd4714 also does
not
>>> work.
>I checked this and found that the warning can in fact be suppressed. I
went through
>proto's source files and suppressed it everywhere __forceinline is
used. Your sample
>code now compiles cleanly with /W4 with boost trunk.
>Thanks for the report.
>--
>Eric Niebler
>BoostPro Computing
>http://www.boostpro.com


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