
Janusz Piwowarski wrote:
<>I attach a patch that allows use of program_options with mingw compiler. There isn't support for utf-8 conversion - maybe it is possible to convert without use of wstring?
<>I have only one question: why do we need the following:
- to_internal(detail::make_vector(argv+1, argv+argc))) + to_internal(detail::make_vector<charT, charT**>(argv+1, argv+argc)))
Is it a bug in mingw's gcc?
I am not familiar with this issue, but GCC's C++ wide character support on MinGW is currently defunct for a few relatively silly reasons. In
Vladimir Prus wrote: particular, GCC's configure is overzealous in turning off wide character support when miscellaneous Unixisms are not present. The primary reason it doesn't work is that no one has taken the time to get it working. With any luck, this will be fixed sometime soon. Aaron W. LaFramboise