Boost logo

Boost Users :

Subject: Re: [Boost-users] [units] Unable to print temperature quantity
From: Belcourt, K. Noel (kbelco_at_[hidden])
Date: 2011-11-30 16:06:09


A quick followup.

On Nov 11, 2011, at 10:55 PM, Belcourt, K. Noel wrote:

> I'm a complete neophyte with the units library. I have cause to use
> it so I'm trying to do something simple and am getting compile
> problems. This code:
>
> #include <iostream>
> #include <boost/units/io.hpp>
> #include <boost/units/quantity.hpp>
> #include <boost/units/systems/temperature/fahrenheit.hpp>
>
> int main(int, char **) {
> using namespace boost::units;
> quantity<fahrenheit::temperature> t;
> std::cout << t << std::endl;
> return 0;
> }
>
> Generates this error with Intel 11.1 on Darwin using trunk.

This appears to be broken with Xcode 3.1.x (for users with OSX
10.5.x). It appears to compile and link fine with Xcode 3.2.x. A
report has been filed with Intel, not sure if they'll patch.

-- 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