Re: [PATCH] PR libstdc++/85098 add missing definitions for static constants

2018-05-18 Thread Ville Voutilainen
On 18 May 2018 at 19:13, Jonathan Wakely wrote: > In C++11 and C++14 any odr-use of these constants requires a definition > at namespace-scope. In C++17 they are implicitly inline and so the > namespace-scope redeclarations are redundant (and allowing them is > deprecated). > > PR libstdc

[PATCH] PR libstdc++/85098 add missing definitions for static constants

2018-05-18 Thread Jonathan Wakely
In C++11 and C++14 any odr-use of these constants requires a definition at namespace-scope. In C++17 they are implicitly inline and so the namespace-scope redeclarations are redundant (and allowing them is deprecated). PR libstdc++/85098 * include/bits/regex.h [__cplusplus < 2017