Errors when compiling through visual studio code - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Errors when compiling through visual studio code (
/showthread.php?tid=654333)
Errors when compiling through visual studio code -
AndreiWow - 26.05.2018
PHP код:
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Internal\..\YSI_Server\y_scriptinit.inc(141) : error 036: empty statement
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Internal\..\YSI_Server\y_scriptinit.inc(146) : error 036: empty statement
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Internal\..\YSI_Server\y_scriptinit.inc(179) : error 036: empty statement
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Internal\..\YSI_Server\y_scriptinit.inc(184) : error 036: empty statement
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Internal\..\YSI_Server\y_scriptinit.inc(261) : error 010: invalid function or declaration
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Internal\..\YSI_Server\y_scriptinit.inc(269) : error 010: invalid function or declaration
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Internal\..\YSI_Server\y_scriptinit.inc(277) : error 010: invalid function or declaration
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Internal\..\YSI_Server\y_scriptinit.inc(285) : error 010: invalid function or declaration
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Internal\..\YSI_Server\y_scriptinit.inc(293) : error 010: invalid function or declaration
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Core\y_debug.inc(350) : error 036: empty statement
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Core\y_debug.inc(350) : error 036: empty statement
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(260) : warning 209: function "CodeScanCheckJumpTarget" should return a value
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(260) : warning 225: unreachable code
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(260) : warning 217: loose indentation
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(260 -- 263) : warning 215: expression has no effect
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(269) : warning 209: function "CodeScanCheckJumpTarget" should return a value
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(269) : warning 225: unreachable code
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(269) : warning 217: loose indentation
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(269 -- 272) : warning 215: expression has no effect
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(276) : error 078: function uses both "return" and "return <value>"
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(401) : warning 225: unreachable code
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(401) : warning 217: loose indentation
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(401 -- 402) : warning 215: expression has no effect
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(415) : warning 225: unreachable code
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(415) : warning 217: loose indentation
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(415 -- 416) : warning 215: expression has no effect
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(422) : warning 225: unreachable code
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(422) : warning 217: loose indentation
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(422 -- 423) : warning 215: expression has no effect
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(429) : warning 225: unreachable code
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(429) : warning 217: loose indentation
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(429 -- 430) : warning 215: expression has no effect
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(436) : warning 225: unreachable code
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(436) : warning 217: loose indentation
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(436 -- 437) : warning 215: expression has no effect
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(461) : warning 225: unreachable code
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(461) : warning 217: loose indentation
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(461 -- 464) : warning 215: expression has no effect
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(512) : warning 225: unreachable code
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(512) : warning 217: loose indentation
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(512 -- 515) : warning 215: expression has no effect
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(527) : warning 225: unreachable code
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(527) : warning 217: loose indentation
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(527 -- 528) : warning 215: expression has no effect
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(796) : warning 209: function "CodeScanCheck" should return a value
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\y_amx.inc(358) : error 036: empty statement
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\y_amx.inc(358) : error 036: empty statement
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\y_amx.inc(402) : error 036: empty statement
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\y_amx.inc(402) : error 036: empty statement
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\y_amx.inc(450) : error 036: empty statement
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\y_amx.inc(450) : error 036: empty statement
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\y_amx.inc(587) : error 036: empty statement
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\y_amx.inc(587) : error 036: empty statement
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\y_amx.inc(719) : error 036: empty statement
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\y_amx.inc(719) : error 036: empty statement
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\y_amx.inc(1008) : error 036: empty
statement
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\y_amx.inc(1008) : error 036: empty
statement
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\y_amx.inc(1079) : error 036: empty
statement
D:\Programming\Projects\SAMP\UGRP environment\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\y_amx.inc(1079) : error 036: empty
statement
It happens only when compiling through visual studio code
Re: Errors when compiling through visual studio code -
AndreiWow - 27.05.2018
Bump...?
Re: Errors when compiling through visual studio code -
GTLS - 28.05.2018
Make sure you are using correct path to pawnocc with all compatible includes. I use VSCode and there was no problem for me.