Opened 11 years ago

Closed 4 years ago

#6413 closed Bugs (fixed)

Use attribute names with underscores for GCC

Reported by: Petr Machata <pmachata@…> Owned by: Stefan Seefeld
Milestone: To Be Determined Component: gil USE GITHUB
Version: Boost 1.48.0 Severity: Problem
Keywords: Cc: mateusz@…

Description

... which should prevent accidental interactions between user-defined macros and boost internals.

Attachments (1)

boost-gil.patch (562 bytes ) - added by Petr Machata <pmachata@…> 11 years ago.

Download all attachments as: .zip

Change History (4)

by Petr Machata <pmachata@…>, 11 years ago

Attachment: boost-gil.patch added

comment:1 by Mateusz Loskot, 6 years ago

Cc: mateusz@… added

comment:2 by Stefan Seefeld, 5 years ago

Owner: changed from Hailin Jin to Stefan Seefeld

comment:3 by Mateusz Loskot, 4 years ago

Resolution: fixed
Status: newclosed

This has been fixed by GIL switch from GIL_FORCEINLINE with BOOST_FORCEINLINE https://github.com/boostorg/gil/commit/04bc0ea689ca01bb4793ecacaf34e4f015f034f4

Current inline for GCC does what requested

# define BOOST_FORCEINLINE inline __attribute__ ((__always_inline__))

https://github.com/boostorg/config/blob/eb68e4725a1d64860aa945a6ba32f4876bb2e611/include/boost/config/detail/suffix.hpp#L598-L609

Note: See TracTickets for help on using tickets.