#8940 closed Bugs (fixed)
Argument promotion fails dependent libs on platforms not supporting long double
Reported by: | Owned by: | John Maddock | |
---|---|---|---|
Milestone: | To Be Determined | Component: | math |
Version: | Boost 1.54.0 | Severity: | Regression |
Keywords: | long double; promotion | Cc: |
Description
The following code fails to compile on FreeBSD 9.1, gcc 4.2.1:
#include <boost/spirit/include/karma.hpp>
#include <string> #include <iterator>
int main() {
using namespace boost::spirit::karma; std::string result; std::back_insert_iterator sink(result); unsigned short a; generate(sink, auto_, a);
}
Note:
See TracTickets
for help on using tickets.
(In [85188]) Made a few core functions usable with long double even when there is no std lib long double support. Fixes #8940.