#1312 Simple WINAPI code don't compile

Known_Feature
closed-invalid
nobody
2009-06-29
2009-06-28
No

PS D:\> gcc -v
Using built-in specs.
Target: mingw32
Configured with: ../gcc-4.4.0/configure --enable-languages=c,ada,c++,fortran,java,objc,obj-c++ --disable-sjlj-exceptions
--enable-shared --enable-libgcj --enable-libgomp --with-dwarf2 --disable-win32-registry --enable-libstdcxx-debug --enab
le-version-specific-runtime-libs --prefix=/mingw --with-gmp=/mingw/src/gmp/root --with-mpfr=/mingw/src/mpfr/root --build
=mingw32
Thread model: win32
gcc version 4.4.0 (GCC)

PS D:\> ld -v
GNU ld (GNU Binutils) 2.19.1

OS: Windows 7 RC1 x64

This code good compile with MSVS 2008 SP1.

Discussion

  • Vladimir Zubko

    Vladimir Zubko - 2009-06-28

    Source

     
    Attachments
  • Jesse

    Jesse - 2009-06-29

    It's not a mingw bug.
    Because Visual Sutdio enable using unicode in default, but mingw not.
    You can compile your code with these gcc option "-DUNICODE -D_UNICODE".

     
  • Earnie Boyd

    Earnie Boyd - 2009-06-29
    • milestone: --> Known_Feature
    • status: open --> closed-invalid
     
  • Earnie Boyd

    Earnie Boyd - 2009-06-29

    Not a MinGW bug.

    Although your problem may be interesting and causing you problems you wish answers to, it is not a problem with the MinGW runtime,
    w32api, GCC, binutils or msys. Your BUG report has therefore been deleted. If you feel that this needs further discussion then
    please post to mingw-users@lists.sourceforge.net.

    Thanks for your interest in the MinGW Project,
    MinGW Project Administrators

     

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

Sign up for the SourceForge newsletter:





No, thanks