← Back to team overview

widelands-dev team mailing list archive

Re: [Merge] lp:~widelands-dev/widelands/zip_file_error_messages into lp:widelands

 

Hmm, clang tell me:

/Users/klaus/develop/widelands-repo/bug-1395278-network/src/io/filesystem/zip_filesystem.cc:549:56: warning: format specifies type 'wchar_t *' but the argument has type
      'const value_type *' (aka 'const char *') [-Wformat]
                        throw wexception("Failed to write into zipfile %S", zip_file_->path().c_str());
                                                                       ~~   ^~~~~~~~~~~~~~~~~~~~~~~~~
                                                                       %s
This may fail in case the File Path conatins a unicode char (like German ä ore gaelic à).
how could I force this issue?

-- 
https://code.launchpad.net/~widelands-dev/widelands/zip_file_error_messages/+merge/285711
Your team Widelands Developers is subscribed to branch lp:~widelands-dev/widelands/zip_file_error_messages.


References