This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/81950] _GLIBCXX17_INLINE macro not used consistently


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81950

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The explanations above are correct.

We could do something here dependent on __cpp_inline_variables >= 201606, if
that helps other compilers, but using _GLIBCXX17_INLINE isn't the right fix
(that should always be defined when __cplusplus > 201402L, so if the Intel
compiler is undefining it you should stop doing that, and work with us to
support your copiler properly).

I'd entertain patches to do that, but am unlikely top find time to do so
myself.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]