Opened 14 years ago

Closed 14 years ago

#2033 closed Bugs (fixed)

STLPort & fpclassify compatibility issue

Reported by: andysem@… Owned by: John Maddock
Milestone: Boost 1.36.0 Component: math
Version: Boost Development Trunk Severity: Problem
Keywords: stlport math fpclassify Cc:

Description

In boost/math/special_functions/fpclassify.hpp there is a compatibility issue. The code does not compile on Linux (GCC 4.3.1) when STLPort 5.1.5 is used. The problem is in BOOST_FPCLASSIFY_PREFIX macro definition in line 42. The macro should take into account that STLPort does not import fpclassify function into stlp_std namespace but replaces std with stlp_std. One possible solution is to use _STLP_VENDOR_CSTD macro instead of std when compiled with STLPort.

Attachments (1)

fpclassify.hpp.patch (627 bytes ) - added by andysem@… 14 years ago.
The patch fixes the STLPort compatibility problem

Download all attachments as: .zip

Change History (3)

by andysem@…, 14 years ago

Attachment: fpclassify.hpp.patch added

The patch fixes the STLPort compatibility problem

comment:1 by John Maddock, 14 years ago

Status: newassigned

Thanks for the report, will apply the fix.

comment:2 by John Maddock, 14 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.