[Bug c++/107587] New: Explicit specializations of user-defined deduction guides in unnamed namespaces trigger -Wunused-function

2022-11-09 Thread development at jordi dot vilar.cat via Gcc-bugs
: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: development at jordi dot vilar.cat Target Milestone: --- After https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53711, functions in unnamed

[Bug c++/107437] nested generic lambdas fail requiring unneded captures

2022-10-27 Thread development at jordi dot vilar.cat via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107437 Jordi Vilar changed: What|Removed |Added CC||development at jordi dot vilar.cat

[Bug c++/107437] New: nested generic lambdas fail requiring unneded captures

2022-10-27 Thread development at jordi dot vilar.cat via Gcc-bugs
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: development at jordi dot vilar.cat Target Milestone: --- This simple valid code fails to compile with all recent versions of gcc, but compiles nicely with clang (and even msvc!) (live demo on complier explorer

[Bug c++/107390] template-nested lambda type uniqueness

2022-10-25 Thread development at jordi dot vilar.cat via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107390 Jordi Vilar changed: What|Removed |Added CC||development at jordi dot vilar.cat

[Bug c++/107390] New: template-nested lambda type uniqueness

2022-10-25 Thread development at jordi dot vilar.cat via Gcc-bugs
++ Assignee: unassigned at gcc dot gnu.org Reporter: development at jordi dot vilar.cat Target Milestone: --- type obtained from a lambda (with c++20 decltype()) nested into a template (either class o function) is not resolved as a unique type, making this simple code to fail

[Bug libstdc++/101152] std::get_time %Y accepts years with less than 4 digits

2021-12-07 Thread development at jordi dot vilar.cat via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101152 --- Comment #2 from Jordi Vilar --- (In reply to Jonathan Wakely from comment #1) > I think the bug is that it treats 03 as 1903 instead of 0003. It is not > supposed to print "N/A" though. > > %Y doesn't require exactly 4 digits, it allows

[Bug libstdc++/101152] New: std::get_time %Y accepts years with less than 4 digits

2021-06-21 Thread development at jordi dot vilar.cat via Gcc-bugs
Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: development at jordi dot vilar.cat Target Milestone: --- C++ specs for std::time_get facet rely on the C strptime for the do_get method, and the C specs say that %Y includes the century, that is, requires 4

[Bug c++/61726] Ambiguous overload resolution with inherited op()s

2019-07-11 Thread development at jordi dot vilar.cat
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61726 --- Comment #2 from Jordi Vilar --- Any progress on this? This is still happenning in version 9.1. Both clang and vc++ compile it.

[Bug c++/91120] New: broken template instantiation for std::string_view values

2019-07-09 Thread development at jordi dot vilar.cat
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: development at jordi dot vilar.cat Target Milestone: --- The following code fails to compile with gcc 9.1 and -std=c++2a: #include using namespace std::string_view_literals; template struct

[Bug target/90621] New: [mingw] Command line switch -print-multiarch prints nothing

2019-05-24 Thread development at jordi dot vilar.cat
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: development at jordi dot vilar.cat Target Milestone: --- mingw-w64 releases (at least from 6.x through 8.x) print nothing when invoked with command line switch -print-multiarch.

[Bug c++/87714] New: [8 regresion] ICE on valid C++ code: in type_dependent_expression_p, at cp/pt.c:25178

2018-10-23 Thread development at jordi dot vilar.cat
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: development at jordi dot vilar.cat Target Milestone: --- Hi, The issue appeared in g++ 8. It compiles ok in g++ 7.3, clang 6.0 and VisualC++. $> g++-8 -v -st

[Bug libstdc++/78870] Support std::filesystem on Windows

2018-06-04 Thread development at jordi dot vilar.cat
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78870 --- Comment #19 from Jordi Vilar --- (In reply to Jonathan Wakely from comment #18) > That was already done two weeks ago by r260479 Thank you! And a last question: Do you plan to merge both patches into the gcc 8 branch?

[Bug libstdc++/78870] Support std::filesystem on Windows

2018-06-04 Thread development at jordi dot vilar.cat
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78870 Jordi Vilar changed: What|Removed |Added CC||development at jordi dot vilar.cat

[Bug libstdc++/85670] `std::filesystem` does not compile on mingw-w64

2018-05-31 Thread development at jordi dot vilar.cat
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85670 Jordi Vilar changed: What|Removed |Added CC||development at jordi dot vilar.cat

[Bug c++/82316] unexpected warning for using 'register' storage class in extern "C" declarations

2017-09-25 Thread development at jordi dot vilar.cat
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82316 --- Comment #4 from Jordi Vilar --- I'm sorry if I didn't explain it correctly. I don't claim that a extern "C" declarations have to be interpreted as C in a C++ translation unit. What I say is that most C libraries (libtiff, zlib, lcms, etc.)

[Bug c++/82316] New: unexpected warning for using 'register' storage class in extern "C" declarations

2017-09-24 Thread development at jordi dot vilar.cat
NCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: development at jordi dot vilar.cat Target Milestone: --- C++ 17 removed the 'register' storage class, but it is still valid in C code. In g++, a new warnin