Subject: [Boost-bugs] [Boost C++ Libraries] #7612: Compile fails when including <boost/units/systems/si/codata_constants.hpp>
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-10-30 20:53:06
#7612: Compile fails when including <boost/units/systems/si/codata_constants.hpp>
----------------------------------------------------+-----------------------
Reporter: Adam Shrader <adam.shrader@â¦> | Owner: matthiasschabel
Type: Bugs | Status: new
Milestone: To Be Determined | Component: units
Version: Boost 1.52.0 | Severity: Regression
Keywords: |
----------------------------------------------------+-----------------------
I found that adding "#include
<boost/units/systems/si/codata_constants.hpp>" to my program will cause it
to fail compilation with a huge amount of template errors. This used to
work on version 1.46 but fails on version 1.47 and every version after
including 1.52.beta. I am using gcc 4.7.1 on OpenSUSE 12.2. The test
program is used to determine which version works is:
#include <boost/units/systems/si/codata_constants.hpp>
#include <iostream>
int main(int argc, char** argv)
{
std::cout << "Hello." << std::endl;
return 0;
}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7612> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:11 UTC