I'm trying to compile my module, but I'm seeing the below error messages. I have not modified this section within the amxxmodule header or source, so I'm confused on why it is occurring. Commenting out the typedefs causes a significant number of errors to appear similar to:
Code:
1>d:\projects\cpp\logger\public\sdk\amxxmodule.h(155): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
Does anyone have any ideas as to why this is occurring? I am also having problems adding other dependencies, e.g., HL SDK headers, however I think I may be able to work through that by configuring "Additional Include Directories" within my VS project.
Thank you for any help!
The source code for my project is located:
https://github.com/collinsmith/LoggerModule
I've been using VS 2015 Community Edition
Code:
1>------ Rebuild All started: Project: logger, Configuration: Debug Win32 ------
1> amxxmodule.cpp
1> logger.cpp
1>c:\program files (x86)\microsoft visual studio 14.0\vc\include\stdint.h(19): error C2371: 'int32_t': redefinition; different basic types
1> d:\projects\cpp\logger\public\sdk\amxxmodule.h(107): note: see declaration of 'int32_t'
1>c:\program files (x86)\microsoft visual studio 14.0\vc\include\stdint.h(23): error C2371: 'uint32_t': redefinition; different basic types
1> d:\projects\cpp\logger\public\sdk\amxxmodule.h(108): note: see declaration of 'uint32_t'
1> Generating Code...
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
__________________