Opened 11 years ago
Last modified 11 years ago
#5853 new Bugs
Predefined macro __ppc not checked by various boost headers
Reported by: | Owned by: | Douglas Gregor | |
---|---|---|---|
Milestone: | To Be Determined | Component: | numeric |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | powerpc ppc | Cc: |
Description
Various boost headers implement variant definitions and logic depending on the processor defined for the compilation. There are variations taking into account compilation on the powerpc family of processors but some of the headers in question do not include checking for powerpc compilation via presence of the __ppc predefined macro (they check against other predefineds: __ppc__, __powerpc__, etc, but the WindRiver vxworks gnu compiler for powerpc only defines __ppc).
Boost headers in question:
boost/detail/endian.hpp
boost/interprocess/detail/atomic.hpp
boost/numeric/interval/hw_rounding.hpp
boost/numeric/interval/detail/ppc_rounding_control.hpp
The trunk was checked to be certain that fixes had not yet been applied. No other related bug reports found either.
Attachments (1)
Change History (4)
by , 11 years ago
Attachment: | patchfile.patch added |
---|
follow-up: 2 comment:1 by , 11 years ago
Please, do a ticket by component so that the author can take care of it.
comment:2 by , 11 years ago
Replying to viboes:
Please, do a ticket by component so that the author can take care of it.
Vincent, thanks for your response. I did not know what the correct procedure was. I have no problem entering individual tickets by component, but one question: what component is appropriate for endian.hpp that is located in the top-level detail directory?
comment:3 by , 11 years ago
Component: | None → numeric |
---|---|
Owner: | set to |
patch file for fixes to problem described in ticket