• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Problem with compiler
#1
Hi there. 
I have one error message that i can't resolve:

Code:
C:\Users\Mirza\Documents\Mirza\SAMP_server\SAMP_server\Server\qawno\include\YSI_Storage\y_ini\..\..\YSI_Core\y_core\y_core_entry.inc(120) : user error: YSI assumes `sNAMEMAX` is 31.

tasks.json for compiler settings, in VS Code:

Code:
[color=#000000]{[/color][/font][/color]
[color=#000000]  {
[/color]
"version": "2.0.0",
"tasks": [
{
"label": "build-normal",
"type": "shell",
"command": "${workspaceRoot}/Server/qawno/pawncc.exe",
"runOptions": {
"instanceLimit": 1,
},
"args": [
"${file}",
"-Dgamemodes",
"'-;+'",
"'-(+'",
"'-d3'",
"'-Z+'"
],
"group": {
"kind": "build",
"isDefault": true
},
"isBackground": false,
"presentation": {
"reveal": "always",
"panel": "dedicated"
},
"problemMatcher": {
"owner": "pawn",
"fileLocation": [
"relative",
"${workspaceRoot}"
],
"pattern": {
"regexp": "^(.*?)\\(([0-9]*)[- 0-9]*\\) \\: (fatal error|error|warning) [0-9]*\\: (.*)$",
"file": 1,
"location": 2,
"severity": 3,
"message": 4
}
}
}
],
[color=#000000]}[/color][color=#000000][font=Consolas, 'Courier New', monospace]


I include YSI like this:


Code:
[/font][/color]
#include <open.mp>
#include <a_mysql>
#include <a_http>
#include <sscanf2>
#include <streamer>
#include <YSI_Storage\y_ini>
#include <YSI_Data\y_iterate>
#include <YSI_Coding\y_timers>
[color=#000000][font=Consolas, 'Courier New', monospace]



I try to modify compiler settings but I couldn't find any solution for it.
  Reply


Messages In This Thread
Problem with compiler - by MirzaTinjak - 2023-01-27, 10:53 PM
RE: Problem with compiler - by Y_Less - 2023-02-06, 02:39 PM

Forum Jump: