[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc-bugs
Subject:    [Bug c++/107939] [11/12/13 Regression] Rejects use of `extern const` variable in a template
From:       johelegp at gmail dot com via Gcc-bugs <gcc-bugs () gcc ! gnu ! org>
Date:       2022-11-30 19:36:34
Message-ID: bug-107939-4-pFHNrzz9No () http ! gcc ! gnu ! org/bugzilla/
[Download RAW message or body]

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

--- Comment #2 from Johel Ernesto Guerrero Peña <johelegp at gmail dot com> ---
Making the expression using the `extern const` variable more complex or
indirect makes it work. With an IILE, for example:
https://compiler-explorer.com/z/EjYYvPvqT.=
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic