Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
From: leon zadorin <leonleon77@gm...> - 2007-06-14 04:32:44
in mingw's include dir:
winbase.h declares InterlockedIncrement as:
LONG WINAPI InterlockedIncrement(LPLONG);
it is declared as
LONG __cdecl InterlockedIncrement(
LONG volatile* Addend
The code which follows the MS declarations (i.e. passes a pointer to
volatile int) does no build by default on mingw (cannot coerce
"pointer to int" to "pointer to volatile int")...
anyway - am wondering why is there a difference in prototyping between
mingw and MS ?