[mingw32] build failure
Building today's CVS failed like so:
i586-mingw32msvc-gcc -Os -Wall -x c -DEXEHEAD -DWIN32_LEAN_AND_MEAN -DNSIS_MAX_STRLEN=1024 -DNSIS_MAX_INST_TYPES=32 -DNSIS_DEFAULT_LANG=1033 -DNSIS_CONFIG_UNINSTALL_SUPPORT -DNSIS_CONFIG_LICENSEPAGE -DNSIS_CONFIG_COMPONENTPAGE -DNSIS_CONFIG_SILENT_SUPPORT -DNSIS_CONFIG_VISIBLE_SUPPORT -DNSIS_CONFIG_ENHANCEDUI_SUPPORT -DNSIS_CONFIG_COMPRESSION_SUPPORT -DNSIS_COMPRESS_BZIP2_LEVEL=9 -DNSIS_CONFIG_CRC_SUPPORT -DNSIS_SUPPORT_BGBG -DNSIS_SUPPORT_CODECALLBACKS -DNSIS_SUPPORT_MOVEONREBOOT -DNSIS_SUPPORT_ACTIVEXREG -DNSIS_SUPPORT_INTOPTS -DNSIS_SUPPORT_STROPTS -DNSIS_SUPPORT_STACK -DNSIS_SUPPORT_FILEFUNCTIONS -DNSIS_SUPPORT_FINDFIRST -DNSIS_SUPPORT_CREATESHORTCUT -DNSIS_SUPPORT_INIFILES -DNSIS_SUPPORT_REGISTRYFUNCTIONS -DNSIS_SUPPORT_COPYFILES -DNSIS_SUPPORT_REBOOT -DNSIS_SUPPORT_FNUTIL -DNSIS_SUPPORT_EXECUTE -DNSIS_SUPPORT_SHELLEXECUTE -DNSIS_SUPPORT_GETDLLVERSION -DNSIS_SUPPORT_GETFILETIME -DNSIS_SUPPORT_HWNDS -DNSIS_SUPPORT_ENVIRONMENT -DNSIS_SUPPORT_RMDIR -DNSIS_SUPPORT_FILE -DNSIS_SUPPORT_DELETE -DNSIS_SUPPORT_RENAME -DNSIS_SUPPORT_MESSAGEBOX -DNSIS_SUPPORT_VERSION_INFO -DNSIS_SUPPORT_STANDARD_PREDEFINES -DNSIS_LOCKWINDOW_SUPPORT -DNSIS_CONFIG_PLUGIN_SUPPORT -DNSIS_COMPRESS_USE_BZIP2 -c -o build/release/stub_bzip2/Ui.o Source/exehead/Ui.cAccording to google, SHACF_FILESYSTEM is supposed to be defined as 1. I've attached a patch to fix this by defining it in Platform.h when it isn't already defined.
Source/exehead/Ui.c: In function `DialogProc':
Source/exehead/Ui.c:553: warning: dereferencing type-punned pointer will break strict-aliasing rules
Source/exehead/Ui.c: In function `DirProc':
Source/exehead/Ui.c:864: error: `SHACF_FILESYSTEM' undeclared (first use in this function)
Source/exehead/Ui.c:864: error: (Each undeclared identifier is reported only once
Source/exehead/Ui.c:864: error: for each function it appears in.)
scons: *** [build/release/stub_bzip2/Ui.o] Error 1
scons: building terminated because of errors.