Re[2]: Making mahogany with vc++ 7.1 probs

Vadim Zeitlin <[email protected]>
Newsgroups gmane.mail.mahogany.devel
Message-ID <[email protected]>
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>'
ML> 
ML> Is the PDK defective or what?

 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



-------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.