This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/81950] _GLIBCXX17_INLINE macro not used consistently
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 23 Aug 2017 20:00:03 +0000
- Subject: [Bug libstdc++/81950] _GLIBCXX17_INLINE macro not used consistently
- Auto-submitted: auto-generated
- References: <bug-81950-4@http.gcc.gnu.org/bugzilla/>
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.