Stratos: Punto de Encuentro de Desarrolladores

¡Bienvenido a Stratos!

Acceder

Foros





newbie: error compiling under VC2008express

Iniciado por LennyNero, 07 de Abril de 2010, 06:04:54 PM

« anterior - próximo »

LennyNero

I just downloaded this sdk with the purpose to test if it suits my needs, i was trying to build the BasicCode example under Visual C++ 2008 express/Windows 7, but i got this error from the compiler:


1>------ Build started: Project: BasicCode, Configuration: Debug Win32 ------
1>Compiling...
1>Example01_BasicCode.cpp
1>c:\program files\microsoft sdks\windows\v6.0a\include\winnt.h(10426) : warning C4042: 'unnamed-parameter' : has bad storage class
1>c:\program files\microsoft sdks\windows\v6.0a\include\winnt.h(12830) : warning C4042: 'unnamed-parameter' : has bad storage class
1>c:\program files\microsoft sdks\windows\v6.0a\include\winnt.h(12832) : error C2059: syntax error : '__declspec(dllimport)'
1>Build log was saved at "file://e:\usr.local\ln\innercore\sources\crm32\Examples\prjWin32\temp\BuildLog.htm"
1>BasicCode - 1 error(s), 2 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


any help appreciated, thanks in advance.

EDIT: under MinGW it works perfectlty (sadly i have to use VC++)






Stratos es un servicio gratuito, cuyos costes se cubren en parte con la publicidad.
Por favor, desactiva el bloqueador de anuncios en esta web para ayudar a que siga adelante.
Muchísimas gracias.