[Bug c++/117472] pack of function parameters without a name

2024-11-28 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117472

Jakub Jelinek  changed:

   What|Removed |Added

 CC||jakub at gcc dot gnu.org

--- Comment #5 from Jakub Jelinek  ---
Patch for that has been already posted
https://gcc.gnu.org/pipermail/gcc-patches/2024-May/thread.html#651199
and that part of the fix left out in the end.

[Bug c++/117472] pack of function parameters without a name

2024-11-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117472

Marek Polacek  changed:

   What|Removed |Added

 Resolution|--- |WONTFIX
 Status|NEW |RESOLVED

--- Comment #4 from Marek Polacek  ---
Makes sense.  Closing.

[Bug c++/117472] pack of function parameters without a name

2024-11-27 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117472

Jason Merrill  changed:

   What|Removed |Added

 CC||jason at gcc dot gnu.org

--- Comment #3 from Jason Merrill  ---
MSVC also doesn't implement the stated C++23 behavior, though EDG does.

Given how widely unsupported this has been, I probably wouldn't bother
implementing it at this point, and just treat this as a pack expansion like
Clang.

[Bug c++/117472] pack of function parameters without a name

2024-11-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117472

Andrew Pinski  changed:

   What|Removed |Added

   See Also||https://github.com/llvm/llv
   ||m-project/issues/115222

--- Comment #2 from Andrew Pinski  ---
Submitted to clang since they now interrupt it incorrectly for -std=c++11 (to
-std=c++23) too.

[Bug c++/117472] pack of function parameters without a name

2024-11-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117472

Andrew Pinski  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1
   Last reconfirmed||2024-11-06

--- Comment #1 from Andrew Pinski  ---
Interesting clang 19+ gives a warning:

:2:8: warning: pack indexing is a C++2c extension [-Wc++26-extensions]
2 | void f(T...[1]);
  |^

Which is wrong in a way but that is because it is just incompatible between
C++26 and C++23-.