pawn-natives
pawn-natives copied to clipboard
Building on Linux fails
I have no idea where to start with this one unfortunately...
Environment described here: https://github.com/maddinat0r/docker-debian-samp/blob/master/Dockerfile
Build config etc: https://github.com/Southclaws/pawn-uuid/blob/master/CMakeLists.txt
[ 12%] Building CXX object src/CMakeFiles/uuid.dir/__/lib/samp-plugin-sdk/amxplugin.cpp.o
[ 25%] Building CXX object src/CMakeFiles/uuid.dir/__/lib/samp-plugin-sdk/amxplugin2.cpp.o
[ 37%] Building C object src/CMakeFiles/uuid.dir/__/lib/samp-plugin-sdk/amx/getch.c.o
[ 50%] Building CXX object src/CMakeFiles/uuid.dir/guid.cpp.o
[ 62%] Building CXX object src/CMakeFiles/uuid.dir/main.cpp.o
In file included from /root/src/natives.hpp:16:0,
from /root/src/main.cpp:15:
/root/src/plugin-natives/NativeFunc.hpp: In constructor 'pawn_natives::NativeFunc<RET()>::NativeFunc(const char*, AMX_NATIVE)':
/root/src/plugin-natives/NativeFunc.hpp:165:122: error: class 'pawn_natives::NativeFunc<RET()>' does not have any field named 'NativeFunc0'
class NativeFunc<RET()> : public NativeFunc0<RET> { protected: NativeFunc(char const * const name, AMX_NATIVE native) : NativeFunc0(name, native) {} };
^~~~~~~~~~~
In file included from /root/src/natives.hpp:16:0,
from /root/src/main.cpp:15:
/root/src/plugin-natives/Internal/NativeFuncImpl.hpp: In constructor 'pawn_natives::NativeFunc<RET(A)>::NativeFunc(const char*, AMX_NATIVE)':
/root/src/plugin-natives/NativeFunc.hpp:170:30: error: class 'pawn_natives::NativeFunc<RET(A)>' does not have any field named 'NativeFunc1'
#define PAWN_HOOK_NAME NativeFunc1
^
/root/src/plugin-natives/Internal/NativeFuncImpl.hpp:147:157: note: in expansion of macro 'PAWN_HOOK_NAME'
class NativeFunc<RET(PAWN_HOOK_TYPES)> : public PAWN_HOOK_NAME<RET, PAWN_HOOK_TYPES> { protected: NativeFunc(char const * const name, AMX_NATIVE native) : PAWN_HOOK_NAME(name, native) {} };
^~~~~~~~~~~~~~
In file included from /root/src/natives.hpp:16:0,
from /root/src/main.cpp:15:
/root/src/plugin-natives/Internal/NativeFuncImpl.hpp: In constructor 'pawn_natives::NativeFunc<RET(A, B)>::NativeFunc(const char*, AMX_NATIVE)':
/root/src/plugin-natives/NativeFunc.hpp:184:30: error: class 'pawn_natives::NativeFunc<RET(A, B)>' does not have any field named 'NativeFunc2'
#define PAWN_HOOK_NAME NativeFunc2
^
/root/src/plugin-natives/Internal/NativeFuncImpl.hpp:147:157: note: in expansion of macro 'PAWN_HOOK_NAME'
class NativeFunc<RET(PAWN_HOOK_TYPES)> : public PAWN_HOOK_NAME<RET, PAWN_HOOK_TYPES> { protected: NativeFunc(char const * const name, AMX_NATIVE native) : PAWN_HOOK_NAME(name, native) {} };
^~~~~~~~~~~~~~
In file included from /root/src/natives.hpp:16:0,
from /root/src/main.cpp:15:
/root/src/plugin-natives/Internal/NativeFuncImpl.hpp: In constructor 'pawn_natives::NativeFunc<RET(A, B, C)>::NativeFunc(const char*, AMX_NATIVE)':
/root/src/plugin-natives/NativeFunc.hpp:198:30: error: class 'pawn_natives::NativeFunc<RET(A, B, C)>' does not have any field named 'NativeFunc3'
#define PAWN_HOOK_NAME NativeFunc3
^
/root/src/plugin-natives/Internal/NativeFuncImpl.hpp:147:157: note: in expansion of macro 'PAWN_HOOK_NAME'
class NativeFunc<RET(PAWN_HOOK_TYPES)> : public PAWN_HOOK_NAME<RET, PAWN_HOOK_TYPES> { protected: NativeFunc(char const * const name, AMX_NATIVE native) : PAWN_HOOK_NAME(name, native) {} };
^~~~~~~~~~~~~~
In file included from /root/src/natives.hpp:16:0,
from /root/src/main.cpp:15:
/root/src/plugin-natives/Internal/NativeFuncImpl.hpp: In constructor 'pawn_natives::NativeFunc<RET(A, B, C, D)>::NativeFunc(const char*, AMX_NATIVE)':
/root/src/plugin-natives/NativeFunc.hpp:212:30: error: class 'pawn_natives::NativeFunc<RET(A, B, C, D)>' does not have any field named 'NativeFunc4'
#define PAWN_HOOK_NAME NativeFunc4
^
/root/src/plugin-natives/Internal/NativeFuncImpl.hpp:147:157: note: in expansion of macro 'PAWN_HOOK_NAME'
class NativeFunc<RET(PAWN_HOOK_TYPES)> : public PAWN_HOOK_NAME<RET, PAWN_HOOK_TYPES> { protected: NativeFunc(char const * const name, AMX_NATIVE native) : PAWN_HOOK_NAME(name, native) {} };
^~~~~~~~~~~~~~
In file included from /root/src/natives.hpp:16:0,
from /root/src/main.cpp:15:
/root/src/plugin-natives/Internal/NativeFuncImpl.hpp: In constructor 'pawn_natives::NativeFunc<RET(A, B, C, D, E)>::NativeFunc(const char*, AMX_NATIVE)':
/root/src/plugin-natives/NativeFunc.hpp:226:30: error: class 'pawn_natives::NativeFunc<RET(A, B, C, D, E)>' does not have any field named 'NativeFunc5'
#define PAWN_HOOK_NAME NativeFunc5
^
/root/src/plugin-natives/Internal/NativeFuncImpl.hpp:147:157: note: in expansion of macro 'PAWN_HOOK_NAME'
class NativeFunc<RET(PAWN_HOOK_TYPES)> : public PAWN_HOOK_NAME<RET, PAWN_HOOK_TYPES> { protected: NativeFunc(char const * const name, AMX_NATIVE native) : PAWN_HOOK_NAME(name, native) {} };
^~~~~~~~~~~~~~
In file included from /root/src/natives.hpp:16:0,
from /root/src/main.cpp:15:
/root/src/plugin-natives/Internal/NativeFuncImpl.hpp: In constructor 'pawn_natives::NativeFunc<RET(A, B, C, D, E, F)>::NativeFunc(const char*, AMX_NATIVE)':
/root/src/plugin-natives/NativeFunc.hpp:240:30: error: class 'pawn_natives::NativeFunc<RET(A, B, C, D, E, F)>' does not have any field named 'NativeFunc6'
#define PAWN_HOOK_NAME NativeFunc6
^
/root/src/plugin-natives/Internal/NativeFuncImpl.hpp:147:157: note: in expansion of macro 'PAWN_HOOK_NAME'
class NativeFunc<RET(PAWN_HOOK_TYPES)> : public PAWN_HOOK_NAME<RET, PAWN_HOOK_TYPES> { protected: NativeFunc(char const * const name, AMX_NATIVE native) : PAWN_HOOK_NAME(name, native) {} };
^~~~~~~~~~~~~~
In file included from /root/src/natives.hpp:16:0,
from /root/src/main.cpp:15:
/root/src/plugin-natives/Internal/NativeFuncImpl.hpp: In constructor 'pawn_natives::NativeFunc<RET(A, B, C, D, E, F, G)>::NativeFunc(const char*, AMX_NATIVE)':
/root/src/plugin-natives/NativeFunc.hpp:254:30: error: class 'pawn_natives::NativeFunc<RET(A, B, C, D, E, F, G)>' does not have any field named 'NativeFunc7'
#define PAWN_HOOK_NAME NativeFunc7
^
/root/src/plugin-natives/Internal/NativeFuncImpl.hpp:147:157: note: in expansion of macro 'PAWN_HOOK_NAME'
class NativeFunc<RET(PAWN_HOOK_TYPES)> : public PAWN_HOOK_NAME<RET, PAWN_HOOK_TYPES> { protected: NativeFunc(char const * const name, AMX_NATIVE native) : PAWN_HOOK_NAME(name, native) {} };
^~~~~~~~~~~~~~
In file included from /root/src/natives.hpp:16:0,
from /root/src/main.cpp:15:
/root/src/plugin-natives/Internal/NativeFuncImpl.hpp: In constructor 'pawn_natives::NativeFunc<RET(A, B, C, D, E, F, G, H)>::NativeFunc(const char*, AMX_NATIVE)':
/root/src/plugin-natives/NativeFunc.hpp:268:30: error: class 'pawn_natives::NativeFunc<RET(A, B, C, D, E, F, G, H)>' does not have any field named 'NativeFunc8'
#define PAWN_HOOK_NAME NativeFunc8
^
/root/src/plugin-natives/Internal/NativeFuncImpl.hpp:147:157: note: in expansion of macro 'PAWN_HOOK_NAME'
class NativeFunc<RET(PAWN_HOOK_TYPES)> : public PAWN_HOOK_NAME<RET, PAWN_HOOK_TYPES> { protected: NativeFunc(char const * const name, AMX_NATIVE native) : PAWN_HOOK_NAME(name, native) {} };
^~~~~~~~~~~~~~
In file included from /root/src/natives.hpp:16:0,
from /root/src/main.cpp:15:
/root/src/plugin-natives/Internal/NativeFuncImpl.hpp: In constructor 'pawn_natives::NativeFunc<RET(A, B, C, D, E, F, G, H, I)>::NativeFunc(const char*, AMX_NATIVE)':
/root/src/plugin-natives/NativeFunc.hpp:282:30: error: class 'pawn_natives::NativeFunc<RET(A, B, C, D, E, F, G, H, I)>' does not have any field named 'NativeFunc9'
#define PAWN_HOOK_NAME NativeFunc9
^
/root/src/plugin-natives/Internal/NativeFuncImpl.hpp:147:157: note: in expansion of macro 'PAWN_HOOK_NAME'
class NativeFunc<RET(PAWN_HOOK_TYPES)> : public PAWN_HOOK_NAME<RET, PAWN_HOOK_TYPES> { protected: NativeFunc(char const * const name, AMX_NATIVE native) : PAWN_HOOK_NAME(name, native) {} };
^~~~~~~~~~~~~~
In file included from /root/src/natives.hpp:16:0,
from /root/src/main.cpp:15:
/root/src/plugin-natives/Internal/NativeFuncImpl.hpp: In constructor 'pawn_natives::NativeFunc<RET(A, B, C, D, E, F, G, H, I, J)>::NativeFunc(const char*, AMX_NATIVE)':
/root/src/plugin-natives/NativeFunc.hpp:296:30: error: class 'pawn_natives::NativeFunc<RET(A, B, C, D, E, F, G, H, I, J)>' does not have any field named 'NativeFunc10'
#define PAWN_HOOK_NAME NativeFunc10
^
/root/src/plugin-natives/Internal/NativeFuncImpl.hpp:147:157: note: in expansion of macro 'PAWN_HOOK_NAME'
class NativeFunc<RET(PAWN_HOOK_TYPES)> : public PAWN_HOOK_NAME<RET, PAWN_HOOK_TYPES> { protected: NativeFunc(char const * const name, AMX_NATIVE native) : PAWN_HOOK_NAME(name, native) {} };
^~~~~~~~~~~~~~
In file included from /root/src/natives.hpp:16:0,
from /root/src/main.cpp:15:
/root/src/plugin-natives/Internal/NativeFuncImpl.hpp: In constructor 'pawn_natives::NativeFunc<RET(A, B, C, D, E, F, G, H, I, J, K)>::NativeFunc(const char*, AMX_NATIVE)':
/root/src/plugin-natives/NativeFunc.hpp:310:30: error: class 'pawn_natives::NativeFunc<RET(A, B, C, D, E, F, G, H, I, J, K)>' does not have any field named 'NativeFunc11'
#define PAWN_HOOK_NAME NativeFunc11
^
/root/src/plugin-natives/Internal/NativeFuncImpl.hpp:147:157: note: in expansion of macro 'PAWN_HOOK_NAME'
class NativeFunc<RET(PAWN_HOOK_TYPES)> : public PAWN_HOOK_NAME<RET, PAWN_HOOK_TYPES> { protected: NativeFunc(char const * const name, AMX_NATIVE native) : PAWN_HOOK_NAME(name, native) {} };
^~~~~~~~~~~~~~
In file included from /root/src/natives.hpp:16:0,
from /root/src/main.cpp:15:
/root/src/plugin-natives/Internal/NativeFuncImpl.hpp: In constructor 'pawn_natives::NativeFunc<RET(A, B, C, D, E, F, G, H, I, J, K, L)>::NativeFunc(const char*, AMX_NATIVE)':
/root/src/plugin-natives/NativeFunc.hpp:324:30: error: class 'pawn_natives::NativeFunc<RET(A, B, C, D, E, F, G, H, I, J, K, L)>' does not have any field named 'NativeFunc12'
#define PAWN_HOOK_NAME NativeFunc12
^
/root/src/plugin-natives/Internal/NativeFuncImpl.hpp:147:157: note: in expansion of macro 'PAWN_HOOK_NAME'
class NativeFunc<RET(PAWN_HOOK_TYPES)> : public PAWN_HOOK_NAME<RET, PAWN_HOOK_TYPES> { protected: NativeFunc(char const * const name, AMX_NATIVE native) : PAWN_HOOK_NAME(name, native) {} };
^~~~~~~~~~~~~~
In file included from /root/src/natives.hpp:16:0,
from /root/src/main.cpp:15:
/root/src/plugin-natives/Internal/NativeFuncImpl.hpp: In constructor 'pawn_natives::NativeFunc<RET(A, B, C, D, E, F, G, H, I, J, K, L, M)>::NativeFunc(const char*, AMX_NATIVE)':
/root/src/plugin-natives/NativeFunc.hpp:338:30: error: class 'pawn_natives::NativeFunc<RET(A, B, C, D, E, F, G, H, I, J, K, L, M)>' does not have any field named 'NativeFunc13'
#define PAWN_HOOK_NAME NativeFunc13
^
/root/src/plugin-natives/Internal/NativeFuncImpl.hpp:147:157: note: in expansion of macro 'PAWN_HOOK_NAME'
class NativeFunc<RET(PAWN_HOOK_TYPES)> : public PAWN_HOOK_NAME<RET, PAWN_HOOK_TYPES> { protected: NativeFunc(char const * const name, AMX_NATIVE native) : PAWN_HOOK_NAME(name, native) {} };
^~~~~~~~~~~~~~
In file included from /root/src/natives.hpp:16:0,
from /root/src/main.cpp:15:
/root/src/plugin-natives/Internal/NativeFuncImpl.hpp: In constructor 'pawn_natives::NativeFunc<RET(A, B, C, D, E, F, G, H, I, J, K, L, M, N)>::NativeFunc(const char*, AMX_NATIVE)':
/root/src/plugin-natives/NativeFunc.hpp:352:30: error: class 'pawn_natives::NativeFunc<RET(A, B, C, D, E, F, G, H, I, J, K, L, M, N)>' does not have any field named 'NativeFunc14'
#define PAWN_HOOK_NAME NativeFunc14
^
/root/src/plugin-natives/Internal/NativeFuncImpl.hpp:147:157: note: in expansion of macro 'PAWN_HOOK_NAME'
class NativeFunc<RET(PAWN_HOOK_TYPES)> : public PAWN_HOOK_NAME<RET, PAWN_HOOK_TYPES> { protected: NativeFunc(char const * const name, AMX_NATIVE native) : PAWN_HOOK_NAME(name, native) {} };
^~~~~~~~~~~~~~
In file included from /root/src/natives.hpp:16:0,
from /root/src/main.cpp:15:
/root/src/plugin-natives/Internal/NativeFuncImpl.hpp: In constructor 'pawn_natives::NativeFunc<RET(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)>::NativeFunc(const char*, AMX_NATIVE)':
/root/src/plugin-natives/NativeFunc.hpp:366:30: error: class 'pawn_natives::NativeFunc<RET(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)>' does not have any field named 'NativeFunc15'
#define PAWN_HOOK_NAME NativeFunc15
^
/root/src/plugin-natives/Internal/NativeFuncImpl.hpp:147:157: note: in expansion of macro 'PAWN_HOOK_NAME'
class NativeFunc<RET(PAWN_HOOK_TYPES)> : public PAWN_HOOK_NAME<RET, PAWN_HOOK_TYPES> { protected: NativeFunc(char const * const name, AMX_NATIVE native) : PAWN_HOOK_NAME(name, native) {} };
^~~~~~~~~~~~~~
In file included from /root/src/natives.hpp:16:0,
from /root/src/main.cpp:15:
/root/src/plugin-natives/Internal/NativeFuncImpl.hpp: In constructor 'pawn_natives::NativeFunc<RET(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)>::NativeFunc(const char*, AMX_NATIVE)':
/root/src/plugin-natives/NativeFunc.hpp:380:30: error: class 'pawn_natives::NativeFunc<RET(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)>' does not have any field named 'NativeFunc16'
#define PAWN_HOOK_NAME NativeFunc16
^
/root/src/plugin-natives/Internal/NativeFuncImpl.hpp:147:157: note: in expansion of macro 'PAWN_HOOK_NAME'
class NativeFunc<RET(PAWN_HOOK_TYPES)> : public PAWN_HOOK_NAME<RET, PAWN_HOOK_TYPES> { protected: NativeFunc(char const * const name, AMX_NATIVE native) : PAWN_HOOK_NAME(name, native) {} };
^~~~~~~~~~~~~~
In file included from /root/src/natives.hpp:16:0,
from /root/src/main.cpp:15:
/root/src/natives.hpp: In static member function 'static cell uuid::Native_uuid_UUID::Call(AMX*, cell*)':
/root/src/natives.hpp:18:18: error: 'UUID' is not a member of 'uuid'
PAWN_NATIVE_DECL(uuid, UUID, bool(char *))
^
/root/src/plugin-natives/NativeFunc.hpp:422:21: note: in definition of macro 'PAWN_NATIVE_DECL'
return nspace::func.CallDoOuter(amx, params); \
^~~~~~
/root/src/natives.hpp:18:18: note: suggested alternative:
PAWN_NATIVE_DECL(uuid, UUID, bool(char *))
^
/root/src/plugin-natives/NativeFunc.hpp:422:21: note: in definition of macro 'PAWN_NATIVE_DECL'
return nspace::func.CallDoOuter(amx, params); \
^~~~~~
In file included from /root/src/natives.hpp:15:0,
from /root/src/main.cpp:15:
/root/src/impl.hpp:17:13: note: 'Impl::UUID'
std::string UUID();
^~~~
In file included from /root/src/plugin-natives/NativeFunc.hpp:175:0,
from /root/src/natives.hpp:16,
from /root/src/main.cpp:15:
/root/src/plugin-natives/Internal/NativeFuncImpl.hpp: In instantiation of 'pawn_natives::NativeFunc<RET(A)>::NativeFunc(const char*, AMX_NATIVE) [with RET = bool; A = char*; AMX_NATIVE = int (*)(tagAMX*, int*); cell = int]':
/root/src/natives.hpp:18:1: required from here
/root/src/plugin-natives/Internal/NativeFuncImpl.hpp:147:184: error: no matching function for call to 'pawn_natives::NativeFunc1<bool, char*>::NativeFunc1()'
class NativeFunc<RET(PAWN_HOOK_TYPES)> : public PAWN_HOOK_NAME<RET, PAWN_HOOK_TYPES> { protected: NativeFunc(char const * const name, AMX_NATIVE native) : PAWN_HOOK_NAME(name, native) {} };
^
In file included from /root/src/natives.hpp:16:0,
from /root/src/main.cpp:15:
/root/src/plugin-natives/NativeFunc.hpp:170:30: note: candidate: pawn_natives::NativeFunc1<RET, A>::NativeFunc1(const char*, AMX_NATIVE) [with RET = bool; A = char*; AMX_NATIVE = int (*)(tagAMX*,int*); cell = int]
#define PAWN_HOOK_NAME NativeFunc1
^
/root/src/plugin-natives/Internal/NativeFuncImpl.hpp:13:3: note: in expansion of macro 'PAWN_HOOK_NAME'
PAWN_HOOK_NAME(char const * const name, AMX_NATIVE native) : NativeFuncBase(PAWN_HOOK_NUMBER, name, native) {}
^~~~~~~~~~~~~~
/root/src/plugin-natives/NativeFunc.hpp:170:30: note: candidate expects 2 arguments, 0 provided
#define PAWN_HOOK_NAME NativeFunc1
^
/root/src/plugin-natives/Internal/NativeFuncImpl.hpp:13:3: note: in expansion of macro 'PAWN_HOOK_NAME'
PAWN_HOOK_NAME(char const * const name, AMX_NATIVE native) : NativeFuncBase(PAWN_HOOK_NUMBER, name, native) {}
^~~~~~~~~~~~~~
make[3]: *** [src/CMakeFiles/uuid.dir/main.cpp.o] Error 1
make[2]: *** [src/CMakeFiles/uuid.dir/all] Error 2
src/CMakeFiles/uuid.dir/build.make:158: recipe for target 'src/CMakeFiles/uuid.dir/main.cpp.o' failed
make[3]: Leaving directory '/root/build'
CMakeFiles/Makefile2:85: recipe for target 'src/CMakeFiles/uuid.dir/all' failed
make[2]: Leaving directory '/root/build'
make[1]: *** [all] Error 2
Makefile:83: recipe for target 'all' failed
make[1]: Leaving directory '/root/build'
makefile:32: recipe for target 'build-inside' failed
make: *** [build-inside] Error 2
make: *** [build-linux] Error 2
Can you try the new commit please?
Okay that got rid of the wall of errors, I'm still left with:
In file included from /root/src/natives.hpp:16:0,
from /root/src/main.cpp:15:
/root/src/natives.hpp: In static member function 'static cell uuid::Native_uuid_UUID::Call(AMX*, cell*)':
/root/src/natives.hpp:18:18: error: 'UUID' is not a member of 'uuid'
PAWN_NATIVE_DECL(uuid, UUID, bool(char*))
^
/root/src/plugin-natives/NativeFunc.hpp:422:21: note: in definition of macro 'PAWN_NATIVE_DECL'
return nspace::func.CallDoOuter(amx, params); \
^~~~~~
/root/src/natives.hpp:18:18: note: suggested alternative:
PAWN_NATIVE_DECL(uuid, UUID, bool(char*))
^
/root/src/plugin-natives/NativeFunc.hpp:422:21: note: in definition of macro 'PAWN_NATIVE_DECL'
return nspace::func.CallDoOuter(amx, params); \
^~~~~~
In file included from /root/src/natives.hpp:15:0,
from /root/src/main.cpp:15:
/root/src/impl.hpp:17:13: note: 'Impl::UUID'
std::string UUID();
^~~~
src/CMakeFiles/uuid.dir/build.make:158: recipe for target 'src/CMakeFiles/uuid.dir/main.cpp.o' failed
Try now?
Latest commit resulted in more errors:
In file included from /root/src/plugin-natives/NativeFunc.hpp:6:0,
from /root/src/natives.hpp:16,
from /root/src/natives.cpp:10:
/root/src/plugin-natives/NativeImport.hpp:121:36: warning: 'PAWN_NATIVE_uuid_UUID' initialized and declared 'extern'
#define PAWN_NATIVE__TOKENISE(a,b) PAWN_NATIVE__DEFER(PAWN_NATIVE__TOKENISE_, (a,b))
^
/root/src/plugin-natives/NativeImport.hpp:192:38: note: in expansion of macro 'PAWN_NATIVE__TOKENISE'
#define PAWN_NATIVE__INPUT_IMPL(...) PAWN_NATIVE__TOKENISE(PAWN_NATIVE__INPUT_,PAWN_NATIVE__NUM_ARGS(__VA_ARGS__))(__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~
/root/src/plugin-natives/NativeImport.hpp:96:33: note: in expansion of macro 'PAWN_NATIVE__INPUT_IMPL'
#define PAWN_NATIVE__DEFER(a,b) a b
^
/root/src/plugin-natives/NativeImport.hpp:195:41: note: in expansion of macro 'PAWN_NATIVE__DEFER'
#define PAWN_NATIVE__PARAMETERS(params) PAWN_NATIVE__DEFER(PAWN_NATIVE__INPUT_IMPL, PAWN_NATIVE__WITHOUT_RETURN_##params)
^~~~~~~~~~~~~~~~~~
/root/src/plugin-natives/NativeFunc.hpp:453:36: note: in expansion of macro 'PAWN_NATIVE__PARAMETERS'
PAWN_NATIVE_##nspace##_##func(PAWN_NATIVE__PARAMETERS(type)) \
^~~~~~~~~~~~~~~~~~~~~~~
/root/src/natives.cpp:13:1: note: in expansion of macro 'PAWN_NATIVE_DEFN'
PAWN_NATIVE_DEFN(uuid, UUID, bool(char* result))
^~~~~~~~~~~~~~~~
/root/src/plugin-natives/NativeImport.hpp:121:36: error: 'bool PAWN_NATIVE_uuid_UUID' redeclared as different kind of symbol
#define PAWN_NATIVE__TOKENISE(a,b) PAWN_NATIVE__DEFER(PAWN_NATIVE__TOKENISE_, (a,b))
^
/root/src/plugin-natives/NativeImport.hpp:192:38: note: in expansion of macro 'PAWN_NATIVE__TOKENISE'
#define PAWN_NATIVE__INPUT_IMPL(...) PAWN_NATIVE__TOKENISE(PAWN_NATIVE__INPUT_,PAWN_NATIVE__NUM_ARGS(__VA_ARGS__))(__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~
/root/src/plugin-natives/NativeImport.hpp:96:33: note: in expansion of macro 'PAWN_NATIVE__INPUT_IMPL'
#define PAWN_NATIVE__DEFER(a,b) a b
^
/root/src/plugin-natives/NativeImport.hpp:195:41: note: in expansion of macro 'PAWN_NATIVE__DEFER'
#define PAWN_NATIVE__PARAMETERS(params) PAWN_NATIVE__DEFER(PAWN_NATIVE__INPUT_IMPL, PAWN_NATIVE__WITHOUT_RETURN_##params)
^~~~~~~~~~~~~~~~~~
/root/src/plugin-natives/NativeFunc.hpp:453:36: note: in expansion of macro 'PAWN_NATIVE__PARAMETERS'
PAWN_NATIVE_##nspace##_##func(PAWN_NATIVE__PARAMETERS(type)) \
^~~~~~~~~~~~~~~~~~~~~~~
/root/src/natives.cpp:13:1: note: in expansion of macro 'PAWN_NATIVE_DEFN'
PAWN_NATIVE_DEFN(uuid, UUID, bool(char* result))
^~~~~~~~~~~~~~~~
In file included from /root/src/natives.hpp:16:0,
from /root/src/natives.cpp:10:
/root/src/plugin-natives/NativeFunc.hpp:417:14: note: previous declaration 'bool PAWN_NATIVE_uuid_UUID(char*)'
::PAWN_NATIVE_##nspace##_##func PAWN_NATIVE__WITHOUT_RETURN_##type;\
^
/root/src/natives.hpp:18:1: note: in expansion of macro 'PAWN_NATIVE_DECL'
PAWN_NATIVE_DECL(uuid, UUID, bool(char*))
^~~~~~~~~~~~~~~~
In file included from /root/src/plugin-natives/NativeFunc.hpp:6:0,
from /root/src/natives.hpp:16,
from /root/src/natives.cpp:10:
/root/src/plugin-natives/NativeImport.hpp:121:55: error: 'PAWN_NATIVE__TOKENISE_' was not declared in this scope
#define PAWN_NATIVE__TOKENISE(a,b) PAWN_NATIVE__DEFER(PAWN_NATIVE__TOKENISE_, (a,b))
^
/root/src/plugin-natives/NativeImport.hpp:192:38: note: in expansion of macro 'PAWN_NATIVE__TOKENISE'
#define PAWN_NATIVE__INPUT_IMPL(...) PAWN_NATIVE__TOKENISE(PAWN_NATIVE__INPUT_,PAWN_NATIVE__NUM_ARGS(__VA_ARGS__))(__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~
/root/src/plugin-natives/NativeImport.hpp:96:33: note: in expansion of macro 'PAWN_NATIVE__INPUT_IMPL'
#define PAWN_NATIVE__DEFER(a,b) a b
^
/root/src/plugin-natives/NativeImport.hpp:195:41: note: in expansion of macro 'PAWN_NATIVE__DEFER'
#define PAWN_NATIVE__PARAMETERS(params) PAWN_NATIVE__DEFER(PAWN_NATIVE__INPUT_IMPL, PAWN_NATIVE__WITHOUT_RETURN_##params)
^~~~~~~~~~~~~~~~~~
/root/src/plugin-natives/NativeFunc.hpp:453:36: note: in expansion of macro 'PAWN_NATIVE__PARAMETERS'
PAWN_NATIVE_##nspace##_##func(PAWN_NATIVE__PARAMETERS(type)) \
^~~~~~~~~~~~~~~~~~~~~~~
/root/src/natives.cpp:13:1: note: in expansion of macro 'PAWN_NATIVE_DEFN'
PAWN_NATIVE_DEFN(uuid, UUID, bool(char* result))
^~~~~~~~~~~~~~~~
/root/src/plugin-natives/NativeImport.hpp:192:60: error: 'PAWN_NATIVE__INPUT_' was not declared in this scope
#define PAWN_NATIVE__INPUT_IMPL(...) PAWN_NATIVE__TOKENISE(PAWN_NATIVE__INPUT_,PAWN_NATIVE__NUM_ARGS(__VA_ARGS__))(__VA_ARGS__)
^
/root/src/plugin-natives/NativeImport.hpp:121:80: note: in definition of macro 'PAWN_NATIVE__TOKENISE'
#define PAWN_NATIVE__TOKENISE(a,b) PAWN_NATIVE__DEFER(PAWN_NATIVE__TOKENISE_, (a,b))
^
/root/src/plugin-natives/NativeImport.hpp:96:33: note: in expansion of macro 'PAWN_NATIVE__INPUT_IMPL'
#define PAWN_NATIVE__DEFER(a,b) a b
^
/root/src/plugin-natives/NativeImport.hpp:195:41: note: in expansion of macro 'PAWN_NATIVE__DEFER'
#define PAWN_NATIVE__PARAMETERS(params) PAWN_NATIVE__DEFER(PAWN_NATIVE__INPUT_IMPL, PAWN_NATIVE__WITHOUT_RETURN_##params)
^~~~~~~~~~~~~~~~~~
/root/src/plugin-natives/NativeFunc.hpp:453:36: note: in expansion of macro 'PAWN_NATIVE__PARAMETERS'
PAWN_NATIVE_##nspace##_##func(PAWN_NATIVE__PARAMETERS(type)) \
^~~~~~~~~~~~~~~~~~~~~~~
/root/src/natives.cpp:13:1: note: in expansion of macro 'PAWN_NATIVE_DEFN'
PAWN_NATIVE_DEFN(uuid, UUID, bool(char* result))
^~~~~~~~~~~~~~~~
/root/src/plugin-natives/NativeImport.hpp:119:55: error: 'PAWN_NATIVE__NUM_ARGS_IMPL' was not declared in this scope
#define PAWN_NATIVE__NUM_ARGS(...) PAWN_NATIVE__DEFER(PAWN_NATIVE__NUM_ARGS_IMPL, (0,__VA_ARGS__,32,31,30,29,28,27,26,25,24,23,22,21,20,19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0))
^
/root/src/plugin-natives/NativeImport.hpp:121:82: note: in definition of macro 'PAWN_NATIVE__TOKENISE'
#define PAWN_NATIVE__TOKENISE(a,b) PAWN_NATIVE__DEFER(PAWN_NATIVE__TOKENISE_, (a,b))
^
/root/src/plugin-natives/NativeImport.hpp:192:80: note: in expansion of macro 'PAWN_NATIVE__NUM_ARGS'
#define PAWN_NATIVE__INPUT_IMPL(...) PAWN_NATIVE__TOKENISE(PAWN_NATIVE__INPUT_,PAWN_NATIVE__NUM_ARGS(__VA_ARGS__))(__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~
/root/src/plugin-natives/NativeImport.hpp:96:33: note: in expansion of macro 'PAWN_NATIVE__INPUT_IMPL'
#define PAWN_NATIVE__DEFER(a,b) a b
^
/root/src/plugin-natives/NativeImport.hpp:195:41: note: in expansion of macro 'PAWN_NATIVE__DEFER'
#define PAWN_NATIVE__PARAMETERS(params) PAWN_NATIVE__DEFER(PAWN_NATIVE__INPUT_IMPL, PAWN_NATIVE__WITHOUT_RETURN_##params)
^~~~~~~~~~~~~~~~~~
/root/src/plugin-natives/NativeFunc.hpp:453:36: note: in expansion of macro 'PAWN_NATIVE__PARAMETERS'
PAWN_NATIVE_##nspace##_##func(PAWN_NATIVE__PARAMETERS(type)) \
^~~~~~~~~~~~~~~~~~~~~~~
/root/src/natives.cpp:13:1: note: in expansion of macro 'PAWN_NATIVE_DEFN'
PAWN_NATIVE_DEFN(uuid, UUID, bool(char* result))
^~~~~~~~~~~~~~~~
/root/src/natives.cpp:13:35: error: expected primary-expression before 'char'
PAWN_NATIVE_DEFN(uuid, UUID, bool(char* result))
^
/root/src/plugin-natives/NativeImport.hpp:121:82: note: in definition of macro 'PAWN_NATIVE__TOKENISE'
#define PAWN_NATIVE__TOKENISE(a,b) PAWN_NATIVE__DEFER(PAWN_NATIVE__TOKENISE_, (a,b))
^
/root/src/plugin-natives/NativeImport.hpp:192:80: note: in expansion of macro 'PAWN_NATIVE__NUM_ARGS'
#define PAWN_NATIVE__INPUT_IMPL(...) PAWN_NATIVE__TOKENISE(PAWN_NATIVE__INPUT_,PAWN_NATIVE__NUM_ARGS(__VA_ARGS__))(__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~
/root/src/plugin-natives/NativeImport.hpp:96:33: note: in expansion of macro 'PAWN_NATIVE__INPUT_IMPL'
#define PAWN_NATIVE__DEFER(a,b) a b
^
/root/src/plugin-natives/NativeImport.hpp:195:41: note: in expansion of macro 'PAWN_NATIVE__DEFER'
#define PAWN_NATIVE__PARAMETERS(params) PAWN_NATIVE__DEFER(PAWN_NATIVE__INPUT_IMPL, PAWN_NATIVE__WITHOUT_RETURN_##params)
^~~~~~~~~~~~~~~~~~
/root/src/plugin-natives/NativeImport.hpp:195:85: note: in expansion of macro 'PAWN_NATIVE__WITHOUT_RETURN_bool'
#define PAWN_NATIVE__PARAMETERS(params) PAWN_NATIVE__DEFER(PAWN_NATIVE__INPUT_IMPL, PAWN_NATIVE__WITHOUT_RETURN_##params)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/src/plugin-natives/NativeFunc.hpp:453:36: note: in expansion of macro 'PAWN_NATIVE__PARAMETERS'
PAWN_NATIVE_##nspace##_##func(PAWN_NATIVE__PARAMETERS(type)) \
^~~~~~~~~~~~~~~~~~~~~~~
/root/src/natives.cpp:13:1: note: in expansion of macro 'PAWN_NATIVE_DEFN'
PAWN_NATIVE_DEFN(uuid, UUID, bool(char* result))
^~~~~~~~~~~~~~~~
/root/src/natives.cpp:13:35: error: expected ')' before 'char'
PAWN_NATIVE_DEFN(uuid, UUID, bool(char* result))
^
/root/src/plugin-natives/NativeImport.hpp:121:82: note: in definition of macro 'PAWN_NATIVE__TOKENISE'
#define PAWN_NATIVE__TOKENISE(a,b) PAWN_NATIVE__DEFER(PAWN_NATIVE__TOKENISE_, (a,b))
^
/root/src/plugin-natives/NativeImport.hpp:192:80: note: in expansion of macro 'PAWN_NATIVE__NUM_ARGS'
#define PAWN_NATIVE__INPUT_IMPL(...) PAWN_NATIVE__TOKENISE(PAWN_NATIVE__INPUT_,PAWN_NATIVE__NUM_ARGS(__VA_ARGS__))(__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~
/root/src/plugin-natives/NativeImport.hpp:96:33: note: in expansion of macro 'PAWN_NATIVE__INPUT_IMPL'
#define PAWN_NATIVE__DEFER(a,b) a b
^
/root/src/plugin-natives/NativeImport.hpp:195:41: note: in expansion of macro 'PAWN_NATIVE__DEFER'
#define PAWN_NATIVE__PARAMETERS(params) PAWN_NATIVE__DEFER(PAWN_NATIVE__INPUT_IMPL, PAWN_NATIVE__WITHOUT_RETURN_##params)
^~~~~~~~~~~~~~~~~~
/root/src/plugin-natives/NativeImport.hpp:195:85: note: in expansion of macro 'PAWN_NATIVE__WITHOUT_RETURN_bool'
#define PAWN_NATIVE__PARAMETERS(params) PAWN_NATIVE__DEFER(PAWN_NATIVE__INPUT_IMPL, PAWN_NATIVE__WITHOUT_RETURN_##params)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/src/plugin-natives/NativeFunc.hpp:453:36: note: in expansion of macro 'PAWN_NATIVE__PARAMETERS'
PAWN_NATIVE_##nspace##_##func(PAWN_NATIVE__PARAMETERS(type)) \
^~~~~~~~~~~~~~~~~~~~~~~
/root/src/natives.cpp:13:1: note: in expansion of macro 'PAWN_NATIVE_DEFN'
PAWN_NATIVE_DEFN(uuid, UUID, bool(char* result))
^~~~~~~~~~~~~~~~
/root/src/natives.cpp:18:1: error: expected ')' at end of input
}
^