https://gcc.gnu.org/bugzilla/show_bug.cgi?id=8
Jonathan Wakely changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=8
Ville Voutilainen changed:
What|Removed |Added
CC||ville.voutilainen at gmail dot
com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=8
--- Comment #2 from Jonathan Wakely ---
(The versions passing i as the length will do the wrong thing here, because the
array actually contains the empty string "", but I'm just showing examples of
valid syntax that work with VLAs).
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=8
--- Comment #1 from Jonathan Wakely ---
I'm not sure we should bother doing anything here. There are various
workarounds possible:
std::filesystem::path p(vla);
std::filesystem::path p({vla, (size_t)i});
std::filesystem::path p = (const char*)vl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=8
Jonathan Wakely changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|