#1277 cwchar breaks with -ansi

WSL
closed
nobody
None
duplicate
Duplicate
2013-02-19
2009-03-25
No

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.

Discussion

  • Keith Marshall

    Keith Marshall - 2010-03-17
    • milestone: --> Duplicate
    • status: open --> closed-duplicate
     
  • Earnie Boyd

    Earnie Boyd - 2013-01-18
    • category: --> Known_bugs
    • milestone: Duplicate --> OTHER
     
  • Earnie Boyd

    Earnie Boyd - 2013-02-01
    • labels: mingw runtime (deprecated use WSL) -->
    • status: closed-duplicate --> closed
    • resolution: --> duplicate
    • category: Known_bugs --> Duplicate
    • milestone: OTHER --> WSL
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks