Closed CrazyHackGUT closed 1 year ago
Is __CLIDEFINE
defined anywhere?
No, it defined only in CLI params for compiler.
I have same problem on
SourcePawn Compiler 1.11.0.6860
Can't repro:
dvander@DESKTOP-675KUFV:~/alliedmodders/sourcepawn$ ./spcomp test.sp -itests/sourcemod/include __CLIDEFINE=1
SourcePawn Compiler 1.12
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2021 AlliedModders LLC
Code size: 3508 bytes
Data size: 2284 bytes
Stack/heap size: 16452 bytes
Total requirements: 22244 bytes
Fix for issue #561 is broke my CI: i use CLI definition for building plugin also in debug mode. Compiler runs with parameter
__CI_DEBUG=1
, in sources i have this:In places, where i have some debug logs, i use construction like this:
Now compiler fails with error mentioned in fix:
Minimal reproduce case: