• 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
#2
Update YSI.
  Reply