Invalid integer constant expression [Help!]

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#if WIN32 && __MINGW32__ && !ZCOM_BUILD//Error On this line (highlighting first &&)
  #define ZCOM_API
  #define ZCOM_TAPI
#elif WIN32 && __MINGW32__ && ZCOM_BUILD//Error On this line (highlighting first &&)
  #define ZCOM_API  __declspec(dllexport)
  #define ZCOM_TAPI __declspec(dllexport)
#elif ZCOM_BUILD && WIN32//Error On this line (highlighting &&)
  #define ZCOM_API __declspec(dllexport)
  #define ZCOM_TAPI
#elif WIN32//Error On this line (At the end of the WIN32)
  #define ZCOM_API __declspec(dllimport)
  #define ZCOM_TAPI
#elif (defined ZCOM_PLATFORM_LINUX || defined ZCOM_PLATFORM_MAC) && ZCOM_BUILD
  #define ZCOM_API __attribute__ ((visibility("default")))
  #define ZCOM_TAPI __attribute__ ((visibility("default")))
#else
  #define ZCOM_API
  #define ZCOM_TAPI
#endif 


I'm having an issue with Zoidcom, I was using it to make temporary networking for my multiplayer game. I'm using Visual Studio 2013 Update 4.

It is giving me this error:

error C1017: invalid integer constant expression c:\program files (x86)\windows kits\8.1\include\um\zoidcom_prereq.h 37 1 Client
Last edited on
Topic archived. No new replies allowed.