Hy all,

I'm trying to build my CGI executable under windows using cl.exe but get the following errors

cgi_main.c(95) : error C2275: 'axis2_conf_ctx_t' : illegal use of this type as an expression C:\axis2c\include\axis2_conf_ctx.h(49) : see declaration of 'axis2_conf_ctx_t'

... and so on and on (similar errors)

Obviously included locations are fine, maybe the problem is that I'm using MS Visual Studio 2008 so syntax is somewhat different for typdef? Or did I forget some specific flag?

I'm using the command like this (as I saw in the makefile)

cl.exe /D "_DEBUG" /Od /Z7 /MDd /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "AXIS2_DECLARE_EXPORT" /D "_CRT_SECURE_NO_DEPRECATE" /D "_CRT_SECURE_NO_WARNINGS" /D "AXIS2_SVR_MULTI_THREADED" /W3 /wd4100 /MP10 /nologo /I %AXIS2C_HOME%include /c cgi_main.c


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to