Modify

Ticket #8732 (closed Bugs: fixed)

Opened 10 months ago

Last modified 7 months ago

Need to protect calls against C99 math macro expansion

Reported by: Mike Liang <mtliang@…> Owned by: johnmaddock
Milestone: To Be Determined Component: math
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

Some code is still not protected against accidental references to C99 math functions that can be implemented as macros. This shows up as compile errors on AIX.

Attached are patches for math and multiprecision to fix all that show up in the existing regressions (as of 1.53.0).

Attachments

math_macro.patch Download (43.3 KB) - added by Mike Liang <mtliang@…> 10 months ago.
protect against C99 math macro expansion for math and multiprecision

Change History

Changed 10 months ago by Mike Liang <mtliang@…>

protect against C99 math macro expansion for math and multiprecision

comment:1 Changed 10 months ago by johnmaddock

(In [84917]) Add test for things that are macros in C99 to ensure we call these correctly. Refs #8732. Fixes #8733.

comment:2 Changed 10 months ago by johnmaddock

  • Status changed from new to closed
  • Resolution set to fixed

(In [84921]) Apply remaining fixes from #8732. Also adds msb (most significant bit) function to multiprecision. Fixes #8732.

comment:3 Changed 7 months ago by johnmaddock

(In [85987]) Merge accumulated patches from Trunk. Refs #8384, Refs #8855, refs #9107, refs #9109, refs #8333, refs #8621, refs #8732, refs #8733, refs #8837, refs #8940, refs #9042, refs #9087, refs #9104, refs #9126.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.