Boost logo

Boost :

Subject: [boost] [Type_Traits] [remove_bounds]: Wrong workaround for IBM C++ compiler is applied in remove_bounds.hpp
From: Kilian Kilger (kkilger_at_[hidden])
Date: 2013-10-22 08:45:00


Hi,

in remove_bounds.hpp, a wrong workaround for the IBM C++ compiler is
applied. This workaround is only valid for IBM C++ on AIX, but wrong for
IBM C++ on z/OS. The z/OS compiler has no bug and thus no workaround must
be applied (else we get wrong results).

So instead of testing against __IBMCPP__ one should also test
against __MVS__. This last macro is only defined for IBM C++ on z/OS.

I wanted to open a ticket on trac, but this system did always identify my
posting as spam.

Best regards,
Kilian.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk