Try compiling in release and post your build log with full compiler logging on.
[full compiler logging]
Settings -> Compiler and Debugger -> Tab "Other" -> Compiler logging = "Full command line".
Tim S
Note: I installed an PSDK called PSDK-x86.exe dated 2005/2006; no idea where to download it from.
Google suggested it was this link I got it from
http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en
-------------- Build: Release in Test ---------------
cl.exe /nologo /W3 /Og /Ox /DNDEBUG /I"C:\Program Files\Microsoft Platform SDK\include" /I"C:\Program Files\Microsoft Visual C++ Toolkit 2003\include" /IF:\SourceCode\Projects\sokoban\ksokoban-svn\Test /c main.cpp /Foobj\Release\main.obj
main.cpp
link.exe /nologo /subsystem:windows /LIBPATH:"C:\Program Files\Microsoft Platform SDK\lib" /LIBPATH:"C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib" /out:bin\Release\Test.exe gdi32.lib user32.lib kernel32.lib obj\Release\main.obj
Output size is 22.50 KB