Opened 10 years ago
#7612 new Bugs
Compile fails when including <boost/units/systems/si/codata_constants.hpp>
Reported by: | Owned by: | Matthias Schabel | |
---|---|---|---|
Milestone: | To Be Determined | Component: | units |
Version: | Boost 1.52.0 | Severity: | Regression |
Keywords: | Cc: |
Description
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;
}
Note:
See TracTickets
for help on using tickets.