open.mp forum
[Pawn] Error while compiler - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: Pawn Scripting (https://forum.open.mp/forumdisplay.php?fid=10)
--- Thread: [Pawn] Error while compiler (/showthread.php?tid=2594)



Error while compiler - sakazuki - 2024-02-16

Hello everyone, 

I just updated plugins like YSI, sscanf, streamer, mysql, chrono. And when I changed it from YSI\y_timers to YSI_Coding\y_timers.
And when all the things I needed had been changed, when I did the compiler, I found an error, namely:

Code:
C:\Users\Administrator\Desktop\samp\pawno\include\a_zones.inc(416) : error 219: local variable "x" shadows a variable at a preceding level
C:\Users\Administrator\Desktop\samp\pawno\include\a_zones.inc(464) : error 219: local variable "x" shadows a variable at a preceding level
C:\Users\Administrator\Desktop\samp\pawno\include\sscanf2.inc(481) : error 219: local variable "size" shadows a variable at a previous level
C:\Users\Administrator\Desktop\samp\pawno\include\YSI_Coding\y_timers\..\..\YSI_Core\y_core\y_scriptinit_impl.inc(712) : error 219: local variable
  "y" shadows a variable at a preceding level
C:\Users\Administrator\Desktop\samp\pawno\include\YSI_Coding\y_timers\..\..\YSI_Core\y_core\y_version.inc(581) : error 219: local variable "size"
shadows a variable at a preceding level
C:\Users\Administrator\Desktop\samp\pawno\include\YSI_Coding\y_timers\..\..\YSI_Core\y_core\y_debug_impl.inc(679) : error 219: local variable "siz
e" shadows a variable at a preceding level
C:\Users\Administrator\Desktop\samp\pawno\include\YSI_Coding\y_timers\..\..\YSI_Core\y_core\y_debug_impl.inc(866) : error 219: local variable "siz
e" shadows a variable at a preceding level
C:\Users\Administrator\Desktop\samp\pawno\include\YSI_Coding\y_timers\..\..\YSI_Core\y_core\y_cell32.inc(576) : error 219: local variable "x" shad
ows a variable at a preceding level
C:\Users\Administrator\Desktop\samp\pawno\include\YSI_Coding\y_timers\..\..\YSI_Core\y_core\y_cell32.inc(606) : error 219: local variable "x" shad
ows a variable at a preceding level
C:\Users\Administrator\Desktop\samp\pawno\include\YSI_Coding\y_timers\..\..\YSI_Core\y_core\y_cell_impl.inc(129) : error 219: local variable "x" s
hadows a variable at a preceding level
C:\Users\Administrator\Desktop\samp\pawno\include\YSI_Coding\y_timers\..\..\YSI_Core\y_core\y_cell_impl.inc(155) : error 219: local variable "x" s
hadows a variable at a preceding level
C:\Users\Administrator\Desktop\samp\pawno\include\YSI_Coding\y_timers\..\..\YSI_Core\y_core\y_amx_impl.inc(590) : error 219: local variable "size"
  shadows a variable at a preceding level
C:\Users\Administrator\Desktop\samp\pawno\include\YSI_Coding\y_timers\..\..\YSI_Core\y_core\y_amx_impl.inc(633) : error 219: local variable "size"
  shadows a variable at a preceding level
C:\Users\Administrator\Desktop\samp\pawno\include\YSI_Coding\y_timers\..\..\YSI_Core\y_core\y_amx_impl.inc(2803) : error 219: local variable "size
"shadows a variable at a preceding level
C:\Users\Administrator\Desktop\samp\pawno\include\YSI_Coding\y_timers\..\..\YSI_Core\y_core\../y_utils/y_utils_arrays.inc(151) : error 219: local
variable "size" shadows a variable at a preceding level
C:\Users\Administrator\Desktop\samp\pawno\include\YSI_Coding\y_timers\..\..\YSI_Core\y_core\../y_utils/y_utils_arrays.inc(186) : error 219: local
variable "size" shadows a variable at a preceding level
C:\Users\Administrator\Desktop\samp\pawno\include\YSI_Coding\y_timers\..\..\YSI_Core\y_core\../y_utils/y_utils_arrays.inc(221) : error 219: local
variable "size" shadows a variable at a preceding level
C:\Users\Administrator\Desktop\samp\pawno\include\YSI_Coding\y_timers\..\..\YSI_Core\y_core\../y_utils/y_utils_arrays.inc(356) : error 219: local
variable "size" shadows a variable at a preceding level
C:\Users\Administrator\Desktop\samp\pawno\include\YSI_Coding\y_timers\..\..\YSI_Core\y_core\../y_utils/y_utils_colour.inc(401) : error 219: local
variable "x" shadows a variable at a preceding level
C:\Users\Administrator\Desktop\samp\pawno\include\YSI_Coding\y_timers\..\..\YSI_Core\y_core\../y_utils/y_utils_colour.inc(426) : error 219: local
variable "x" shadows a variable at a preceding level
C:\Users\Administrator\Desktop\samp\pawno\include\YSI_Coding\y_timers\..\..\YSI_Core\y_core\../y_utils/y_utils_colour.inc(464) : error 219: local
variable "x" shadows a variable at a preceding level
C:\Users\Administrator\Desktop\samp\pawno\include\amx\amx_memory.inc(131) : error 219: local variable "size" shadows a variable at a preceding lev
El
C:\Users\Administrator\Desktop\samp\pawno\include\amx\amx_memory.inc(139) : error 219: local variable "size" shadows a variable at a preceding lev
El
C:\Users\Administrator\Desktop\samp\pawno\include\amx\amx_header.inc(530) : error 219: local variable "size" shadows a variable at a preceding lev
El
C:\Users\Administrator\Desktop\samp\pawno\include\amx\amx_header.inc(619) : error 219: local variable "size" shadows a variable at a preceding lev
El
C:\Users\Administrator\Desktop\samp\pawno\include\amx\amx_header.inc(629) : error 219: local variable "size" shadows a variable at a preceding lev
El

Compilation aborted.


26 Errors.


Please help me to find this problem. Thank you


RE: Error while compiler - Radical - 2024-02-27

I assume your include orders is wrong, somehow this is important...