Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while compiling on linux #689

Open
NathanKanaeru opened this issue Sep 2, 2024 · 0 comments
Open

Error while compiling on linux #689

NathanKanaeru opened this issue Sep 2, 2024 · 0 comments

Comments

@NathanKanaeru
Copy link

I compiled my pawn script on Linux and got this error

pawncc -d3 "-;+" "-(+" -Z+ -i./ -i./include main.pwn
Pawn compiler 3.10.10                   Copyright (c) 1997-2006, ITB CompuPhase

./include/YSI\..\YSI_Coding\..\YSI_Storage\..\YSI_Core\..\YSI_Internal\y_funcinc.inc(101) : error 239: literal array/string passed to a non-const parameter
./include/YSI\..\YSI_Coding\..\YSI_Storage\..\YSI_Core\..\YSI_Internal\y_funcinc.inc(112) : error 239: literal array/string passed to a non-const parameter
./include/YSI\..\YSI_Coding\..\YSI_Storage\..\YSI_Internal\..\amx\asm.inc(257) : error 214: possibly a "const" array argument was intended: "ctx"
./include/YSI\..\YSI_Coding\..\YSI_Storage\..\YSI_Internal\..\amx\disasm.inc(139) : error 214: possibly a "const" array argument was intended: "ctx"
./include/YSI\..\YSI_Coding\..\YSI_Storage\..\YSI_Internal\..\amx\disasm.inc(143) : error 214: possibly a "const" array argument was intended: "ctx"
./include/YSI\..\YSI_Coding\..\YSI_Storage\..\YSI_Internal\..\amx\disasm.inc(147) : error 214: possibly a "const" array argument was intended: "ctx"
./include/YSI\..\YSI_Coding\..\YSI_Storage\..\YSI_Internal\..\amx\disasm.inc(151) : error 214: possibly a "const" array argument was intended: "ctx"
./include/YSI\..\YSI_Coding\..\YSI_Storage\..\YSI_Internal\..\amx\disasm.inc(159) : error 214: possibly a "const" array argument was intended: "ctx"
./include/YSI\..\YSI_Coding\..\YSI_Storage\..\YSI_Internal\..\amx\disasm.inc(163) : error 214: possibly a "const" array argument was intended: "ctx"
./include/YSI\..\YSI_Coding\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(743) : error 214: possibly a "const" array argument was intended: "cs"
./include/YSI\..\YSI_Coding\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(877) : error 214: possibly a "const" array argument was intended: "csm"
./include/YSI\..\YSI_Coding\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(890) : error 214: possibly a "const" array argument was intended: "csm"
./include/YSI\..\YSI_Coding\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(901) : error 214: possibly a "const" array argument was intended: "csm"
./include/YSI\..\YSI_Coding\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(911) : error 214: possibly a "const" array argument was intended: "csm"
./include/YSI\..\YSI_Coding\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(916) : error 214: possibly a "const" array argument was intended: "csm"
./include/YSI\..\YSI_Coding\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(952) : error 214: possibly a "const" array argument was intended: "csm"
./include/YSI\..\YSI_Coding\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(956) : error 214: possibly a "const" array argument was intended: "csm"
./include/YSI\..\YSI_Coding\..\YSI_Internal\..\YSI_Core\y_utils.inc(656) : error 214: possibly a "const" array argument was intended: "ip"
./include/YSI\..\YSI_Coding\..\YSI_Data\y_foreach/impl.inc(164) : error 214: possibly a "const" array argument was intended: "array"
./include/YSI\..\YSI_Coding\..\YSI_Data\y_foreach/impl.inc(181) : error 214: possibly a "const" array argument was intended: "counts"
./include/YSI\..\YSI_Coding\..\YSI_Data\y_foreach/impl.inc(260) : error 214: possibly a "const" array argument was intended: "array"
./include/YSI\..\YSI_Coding\..\YSI_Data\y_foreach/impl.inc(473) : error 214: possibly a "const" array argument was intended: "array"
./include/YSI\..\YSI_Coding\..\YSI_Data\..\YSI_Coding\y_hooks/impl.inc(347) : error 214: possibly a "const" array argument was intended: "name"
./include/YSI\..\YSI_Coding\..\YSI_Data\..\YSI_Coding\y_hooks/impl.inc(374) : error 214: possibly a "const" array argument was intended: "name"
./include/YSI\..\YSI_Coding\..\YSI_Data\..\YSI_Coding\y_hooks/impl.inc(599) : error 214: possibly a "const" array argument was intended: "name"
./include/YSI\..\YSI_Coding\..\YSI_Data\..\YSI_Coding\y_hooks/impl.inc(663) : error 214: possibly a "const" array argument was intended: "hooks"

Compilation aborted.


26 Errors.

can anyone help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant