If you compile a file which includes <cwchar> and add -ansi the compile fails at line 161 and 168. This comes from the fact that the functions swprintf and vswprintf are wrapped in the __STRICT_ANSI__ macro and excluded (in <cwchar.h>). It may be advisable to also wrap the affected lines in the <cwchar>. This bug was discovered while upgrading from 1.14 to 1.15.1 of the mingwrt.
Log in to post a comment.