Opened 9 years ago

Closed 8 years ago

#9663 closed Bugs (fixed)

ARM compilation in MSVC 13.0

Reported by: firemat@… Owned by: René Rivera
Milestone: To Be Determined Component: predef USE GITHUB
Version: Boost 1.55.0 Severity: Problem
Keywords: Cc:

Description

Looks like endiannes support in predef library, when comparing to previous solution in boost/detail/endian.hpp lacks some conditions for architecture predefined compilation flags in MSVC. Due to that I have compilation errors in fp_traits.hpp since endiannes cannot be determined.

\packages\boost.1.55.0.16\lib\native\include\boost/math/special_functions/detail/fp_traits.hpp(472): error C2338: false \packages\boost.1.55.0.16\lib\native\include\boost/math/special_functions/detail/fp_traits.hpp(457): error C2065: 'offset_' : undeclared identifier \boost.1.55.0.16\lib\native\include\boost/math/special_functions/detail/fp_traits.hpp(462): error C2065: 'offset_' : undeclared identifier

I have two proposition for fixing this issue. First is to add _M_ARM flag in predef/architecture/arm.h and second is to add _LITTLE_ENDIAN flag in predef/other/endian.h

Attachments (2)

endianpatch (423 bytes ) - added by firemat@… 9 years ago.
armpatch (422 bytes ) - added by firemat@… 9 years ago.

Download all attachments as: .zip

Change History (4)

by firemat@…, 9 years ago

Attachment: endianpatch added

by firemat@…, 9 years ago

Attachment: armpatch added

comment:1 by anonymous, 9 years ago

Just ran into this trying to compile for WinRT. Any update?

comment:2 by René Rivera, 8 years ago

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