[SeExpr] [Bug 437890] kseexpr FTBFS with GCC 11

2021-06-01 Thread amyspark
https://bugs.kde.org/show_bug.cgi?id=437890 amyspark changed: What|Removed |Added Latest Commit||https://invent.kde.org/grap |

[SeExpr] [Bug 437890] kseexpr FTBFS with GCC 11

2021-06-01 Thread Christophe Giboudeaux
https://bugs.kde.org/show_bug.cgi?id=437890 --- Comment #5 from Christophe Giboudeaux --- Note that it won't affect the charconv test in src/KSeExpr/CMakeLists.txt. If you don't want it, just comment out lines 60 to 71 -- You are receiving this mail because: You are watching all bug changes.

[SeExpr] [Bug 437890] kseexpr FTBFS with GCC 11

2021-06-01 Thread Christophe Giboudeaux
https://bugs.kde.org/show_bug.cgi?id=437890 --- Comment #4 from Christophe Giboudeaux --- > if the C++ standard is less than 17 (as in our case) That's not the case afaics. If you want to enforce CXX 14, you need `set(CMAKE_CXX_STANDARD_REQUIRED ON)` after `set(CMAKE_CXX_STANDARD 14)` in the mai

[SeExpr] [Bug 437890] kseexpr FTBFS with GCC 11

2021-06-01 Thread amyspark
https://bugs.kde.org/show_bug.cgi?id=437890 --- Comment #3 from amyspark --- The strlen part is clearly a bug on my end. The remaining are a "feature" of both GCC and glibc. If my tests are correct, should *not* be available if the C++ standard is less than 17 (as in our case), see https://en.cp

[SeExpr] [Bug 437890] kseexpr FTBFS with GCC 11

2021-05-31 Thread amyspark
https://bugs.kde.org/show_bug.cgi?id=437890 --- Comment #2 from amyspark --- Confirming, I'll try and get my hands on GCC11. You're indeed correct, because this codepath was designed for the case where we could use C++17 (we're stuck in 14 in Krita). -- You are receiving this mail because: You

[SeExpr] [Bug 437890] kseexpr FTBFS with GCC 11

2021-05-31 Thread amyspark
https://bugs.kde.org/show_bug.cgi?id=437890 amyspark changed: What|Removed |Added Component|* Unknown |General Platform|Other