[Bug libstdc++/106067] New: Error on implicit conversion to std::function: 'static constexpr bool std::_Function_handler<...>...' used before its definition

2022-06-23 Thread e.tadeu at gmail dot com via Gcc-bugs
Product: gcc Version: 11.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: e.tadeu at gmail dot com Target Milestone: --- The following code started fai

[Bug libstdc++/91260] New: std::unary_function and std::binary_function still exist in C++17

2019-07-25 Thread e.tadeu at gmail dot com
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: e.tadeu at gmail dot com Target Milestone: --- When using -std=c++17 (or above), `unary_function` and `binary_function` should not exist in the `std` namespace, but the following

[Bug c++/60872] New: Cannot memcpy array of restricted pointers

2014-04-17 Thread e.tadeu at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: e.tadeu at gmail dot com When trying to use memcpy to copy arrays of restricted pointers, it fails with the message: error: '__restrict_' qualifiers cannot be applied to 'void' This is a failing testcase: