[C++ question] 'int32_t' redefinition
#3

Quote:
Originally Posted by jlalt
Посмотреть сообщение
go to samp amx.h file and remove long from the definition of int32_t and uint32_t
Bad practice editing files, that were not written by me as I should probably make changes every time a new version comes out (unless a new version solves the problem of course).

Код:
#define HAVE_STDINT_H
#include "SDK/plugin.h"
It's written in amx.h, that <stdint.h> gets included instead, but still getting the same errors :/ weird
_______________

EDIT: Ok, solved! Basically HAVE_STDINT_H should be defined before including plugin SDK
Reply


Messages In This Thread
[C++ question] 'int32_t' redefinition - by Baltazar - 03.08.2017, 17:27
Re: [C++ question] 'int32_t' redefinition - by jlalt - 03.08.2017, 17:30
Re: [C++ question] 'int32_t' redefinition - by Baltazar - 03.08.2017, 17:38

Forum Jump:


Users browsing this thread: 1 Guest(s)