[Bug c++/98105] constexpr and unnamed namespace yields relocation R_X86_64_PC32 against undefined symbol ... can not be used when making a shared object; recompile with -fPIC

2020-12-03 Thread peter_foelsche at mentor dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98105 --- Comment #2 from Peter Foelsche --- sorry -- adding a definition outside of class for the variable solves the problem!

[Bug c++/98105] New: constexpr and unnamed namespace yields relocation R_X86_64_PC32 against undefined symbol ... can not be used when making a shared object; recompile with -fPIC

2020-12-02 Thread peter_foelsche at mentor dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98105 Bug ID: 98105 Summary: constexpr and unnamed namespace yields relocation R_X86_64_PC32 against undefined symbol ... can not be used when making a shared object; recompile with -fPIC

[Bug c++/97677] New: std::array and std::initializer_list gives wrong results

2020-11-02 Thread peter_foelsche at mentor dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97677 Bug ID: 97677 Summary: std::array and std::initializer_list gives wrong results Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal