[LLVMdev] MinGW llvm-gcc --enable-stdcall-fixup error

Anton Korobeynikov anton at korobeynikov.info
Wed Dec 23 14:20:45 PST 2009


> In addition to the cc1 error, is there a good reason for the initial warning msgs screen dump?  Plain vanilla gcc (MinGW) does not dump these warnings, and it seems unnecessary to require the use of --enable-stdcall-fixup when using stdcall prototyped APIs.
Yes, this is known problem and I'm going to redo all stdcall /
fastcall mangling stuff for 2.7. This option is for the linker, so,
you have to pass it via -Wl,--enable-stdcall-fixup

With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University

More information about the llvm-dev mailing list