I just verified that this happens on: gcc --version gcc.exe (Rev6, Built by MSYS2 project) 13.1.0 Copyright (C) 2023 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. #include <iostream> #include <fstream> #include <filesystem> namespace fs = std::filesystem; constexpr auto * f1 = "fred_test.txt"; constexpr auto * f2 ="fred_test.txt~"; void create_file(char const* p){...
I just verified that this happens on: gcc --version gcc.exe (Rev6, Built by MSYS2 project) 13.1.0 Copyright (C) 2023 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. #include <iostream> #include <fstream> #include <filesystem> namespace fs = std::filesystem; constexpr auto * f1 = "fred_test.txt"; constexpr auto * f2 ="fred_test.txt~"; void create_file(char const* p){...
I just verified that this happens on: gcc --version gcc.exe (Rev6, Built by MSYS2 project) 13.1.0 Copyright (C) 2023 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. #include <iostream> #include <fstream> #include <filesystem> namespace fs = std::filesystem; constexpr auto * f1 = "fred_test.txt"; constexpr auto * f2 ="fred_test.txt~"; void create_file(char const* p){...