Bug#1069559: g++-10: std::regex_constants::multiline (C++17) missing in -std=gnu++20

2024-04-20 Thread U.Mutlu
Package: g++-10 Version: 10.2.1-6 Severity: important X-Debbugs-Cc: um4...@mutluit.com Dear Maintainer, the value std::regex_constants::multiline is supposed to be present in C++17 and later (cf. for example https://en.cppreference.com/w/cpp/regex/basic_regex/constants ), but actually it's missi

Bug#810868: threads: condition_variable or atomic causes _sometimes_ a deadlock

2016-01-12 Thread U.Mutlu
I have been able to locate the bug: The implementation of the non-lambda version of condition_variable.wait() in my compiler (g++ (Debian 4.9.2-10) 4.9.2) seems to be buggy; I guess it is also in the other versions of g++. One can simulate the buggy behaviour by enabling the 2 ifdef's below. The

Bug#810868: threads: condition_variable or atomic causes _sometimes_ a deadlock

2016-01-12 Thread U.Mutlu
in the test code, but in the g++ libraries or even in g++ itself. /* test.cpp 2016-01-13-We Author: U.Mutlu condition variable example (but is [sometimes] buggy) Code adapted from the example at [1] Question: How to fix this code? --> it could be a low-level issue, ie. compiler-, stdlibr