Boost logo

Boost Users :

Subject: Re: [Boost-users] [boost][unit] Intel v12 compiler warning
From: Belcourt, K. Noel (kbelco_at_[hidden])
Date: 2010-11-27 14:43:28


On Nov 27, 2010, at 12:33 PM, Steven Watanabe wrote:

> On 11/27/2010 10:22 AM, Belcourt, K. Noel wrote:
>> Just wanted to point out this warning from the Intel v12 compiler.
>>
>> /Users/kbelco/boost/boost/units/unit.hpp(49): warning #1011: missing
>> return statement at end of non-void function "boost::units::unit<Dim,
>> System, Enable>::operator=(const boost::units::unit<D, S, void> &)"
>> this_type& operator=(const this_type&) { }
>>
>> Perhaps there's an easy warning suppression fix?
>
> Fixed in trunk.

Yes, compiles cleanly, thanks!

-- Noel


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