Visual C++ 2008 Express Edition
Nerijus Baliunas <[email protected]> Tue, 20 Jan 2009 02:38:38 +0200
| Newsgroups | gmane.mail.mahogany.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello, I am trying to compile M with Visual C++ 2008 Express Edition. wx compiled ok, but M fails: Compiling... MObject.cpp C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(963) : error C2143: syntax error : missing ',' before 'constant' C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(964) : error C2988: unrecognizable template declaration/definition C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(964) : error C2059: syntax error : 'constant' C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(964) : error C2059: syntax error : ')' C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(964) : error C2065: 'N' : undeclared identifier C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(964) : error C2090: function returns array C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(964) : error C2143: syntax error : missing ')' before '<end Parse>' winnt.h(962) is: extern "C++" // templates cannot be declared to have 'C' linkage template <typename T, size_t N> char (*RtlpNumberOf( UNALIGNED T (&)[N] ))[N]; Regards, Nerijus ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword