When testing on Windows 10 with MinGW, none of the solutions listed there produce any useful error message that could be shown to users. Alternative: Use Qt instead of the crappy C++ standard library? I would like to keep Qt out of the numerics/fem code though.
https://stackoverflow.com/questions/17337602/how-to-get-error-message-when-ifstream-open-fails
When testing on Windows 10 with MinGW, none of the solutions listed there produce any useful error message that could be shown to users. Alternative: Use Qt instead of the crappy C++ standard library? I would like to keep Qt out of the numerics/fem code though.