In the headers from gcc for Windows, the file commdlg.h doesn't contain START_PAGE_GENERAL's constant.
(use with the structure PRINTDLGEX - http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/userinput/commondialogboxlibrary/commondialogboxreference/commondialogboxstructures/printdlgex.asp) To fix it: #define START_PAGE_GENERAL 0xffffffff -- Summary: Win32 API START_PAGE_GENERAL constant not exists Product: gcc Version: 3.4.2 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: fossar at free dot fr CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19533