Boost logo

Boost :

From: Joaquín Mª López Muñoz (joaquin_at_[hidden])
Date: 2006-11-30 08:44:24

CW 9.4 fails to compile floating_point_comparison.hpp (see ) because of line 36:

enum BOOST_TEST_DECL floating_point_comparison_type {

where BOOST_TEST_DECL resolves to __declspec(dllimport)
or __declspec(dllexport) depending on the context. Seemingly, this
compiler does not support __declspec applied to enum types --usage
with classes and functions is supported, though.

The obvious workaround is to replace the offending line with

enum floating_point_comparison_type {
enum BOOST_TEST_DECL floating_point_comparison_type {

Is it OK for me to commit this change to the HEAD and RC_1_34_0?

Thank you,

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo

Boost list run by bdawes at, gregod at, cpdaniel at, john at