Hi Vadim, I went back to the previous PDK version and got the exact same error msgs at the exact same place in WinNT.h :-(
I am definitely making / using wxWidgets HEAD and I also went and made the samples and 63/68 of them made just fine (didn't have ODBC / OpenGL configured for the rest). HTH MarkL On Mon, 20 Mar 2006 19:11:11 +1000 (E. Australia Standard Time) Mark Livingstone <[EMAIL PROTECTED]> wrote: > On Sun, 19 Mar 2006 14:36:19 +0100 Vadim Zeitlin <[EMAIL PROTECTED]> wrote: > > > On Sun, 19 Mar 2006 13:41:18 +1000 Mark Livingstone <[EMAIL PROTECTED]> > > wrote: > > > > ML> ------ Build started: Project: M, Configuration: Debug Win32 ------ > > ML> > > ML> Compiling... > > ML> MObject.cpp > > ML> c:\Program Files\Microsoft Platform SDK for Windows Server 2003 > > ML> R2\Include\WinNT.h(893) : error C2143: syntax error : missing ',' > > ML> before 'constant' > > ML> c:\Program Files\Microsoft Platform SDK for Windows Server 2003 > > ML> R2\Include\WinNT.h(894) : error C2988: unrecognizable template > > ML> declaration/definition > > ML> c:\Program Files\Microsoft Platform SDK for Windows Server 2003 > > ML> R2\Include\WinNT.h(894) : error C2059: syntax error : 'constant' > > ML> c:\Program Files\Microsoft Platform SDK for Windows Server 2003 > > ML> R2\Include\WinNT.h(894) : error C2059: syntax error : ')' > > ML> c:\Program Files\Microsoft Platform SDK for Windows Server 2003 > > ML> R2\Include\WinNT.h(894) : error C2065: 'N' : undeclared identifier > > ML> c:\Program Files\Microsoft Platform SDK for Windows Server 2003 > > ML> R2\Include\WinNT.h(894) : error C2090: function returns array > > ML> c:\Program Files\Microsoft Platform SDK for Windows Server 2003 > > ML> R2\Include\WinNT.h(894) : error C2143: syntax error : missing ')' > > ML> before '<end Parse>' > > > Yes, this definitely looks like a problem with your SDK installation, you > > should be able to include windows.h header without problems. What I don't > > understand is how did you build wxWidgets (did you?) if it doesn't work. > > What do you have on the line 894 of winnt.h anyhow? > > > > Regards, > > VZ > > extern "C++" // templates cannot be declared to have 'C' linkage > template <typename T, size_t N> > char (*RtlpNumberOf( UNALIGNED T (&)[N] ))[N]; > > #define RTL_NUMBER_OF_V2(A) (sizeof(*RtlpNumberOf(A))) > > The "char" line is line 894 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Mahogany-Developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mahogany-developers
