Skip to content

Error while compiling on linux #689

Open
@NathanKanaeru

Description

@NathanKanaeru

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions