Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#8940 closed Bugs (fixed)

Argument promotion fails dependent libs on platforms not supporting long double

Reported by: boost.lists@… 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);

}

Change History (2)

comment:1 by John Maddock, 9 years ago

Resolution: fixed
Status: newclosed

(In [85188]) Made a few core functions usable with long double even when there is no std lib long double support. Fixes #8940.

comment:2 by John Maddock, 9 years ago

(In [85987]) Merge accumulated patches from Trunk. Refs #8384, Refs #8855, refs #9107, refs #9109, refs #8333, refs #8621, refs #8732, refs #8733, refs #8837, refs #8940, refs #9042, refs #9087, refs #9104, refs #9126.

Note: See TracTickets for help on using tickets.