2021-10-15, 04:52 PM
(2021-10-11, 03:22 PM)Radical Wrote:(2021-10-06, 11:39 AM)hiwyn Wrote:(2021-10-02, 12:27 PM)hiwyn Wrote:(2021-09-29, 07:22 PM)Kwarde Wrote: See: https://github.com/pawn-lang/compiler/wiki/Const-Correctness
Appearantly those warnings were disabled by -however/wherever you compiled before-.
I'll take a look
But its not even creating the .amx
Or this is creating in somewhere else?
About the warning
It's giving the warningIn lines like:Code:warning 239: literal array/string passed to a non-const parameter
Shouldn't i somehow put the compiler to ignore this specific warning?Code:SendRconCommand("password 0");
ApplyAnimation(playerid, "PED", "handsup", 4.1, 0, 0, 0, 1, 0, 1);
bump
You can ignore this warning by disabling that.
#pragma warning disable 239
How to do this?
Code:
"args": [
"${file}",
"\"-;+\"",
"\"-(+\"",
"-i\"/home/hiwyn/Documents/sampserver/include/\"",
"#pragma warning disable 239"
],
Code:
#pragma warning disable 239.p(0) : fatal error 100: cannot read from file: "#pragma warning disable 239.p"
Why its not generating .amx?