Peršokti į turinį

YSI library ir foreach bėda


Recommended Posts

Sveiki, susidūriau su warning'ais kai pradėjau naudoti YSI biblioteką su foreach include'u.

C:\Users\Administratorius\Desktop\Ainis\[ gm ]\gamemodes\gamemode.pwn(613) : warning 219: local variable "using_deprecated_foreach_syntax" shadows a variable at a preceding level
C:\Users\Administratorius\Desktop\Ainis\[ gm ]\gamemodes\gamemode.pwn(743) : warning 219: local variable "using_deprecated_foreach_syntax" shadows a variable at a preceding level
C:\Users\Administratorius\Desktop\Ainis\[ gm ]\gamemodes\gamemode.pwn(1184) : warning 219: local variable "using_deprecated_foreach_syntax" shadows a variable at a preceding level
C:\Users\Administratorius\Desktop\Ainis\[ gm ]\gamemodes\gamemode.pwn(1438) : warning 219: local variable "using_deprecated_foreach_syntax" shadows a variable at a preceding level
C:\Users\Administratorius\Desktop\Ainis[ gm ]\gamemodes\gamemode.pwn(1687) : warning 219: local variable "using_deprecated_foreach_syntax" shadows a variable at a preceding level
C:\Users\Administratorius\Desktop\Ainis\[ gm ]\gamemodes\gamemode.pwn(1860) : warning 219: local variable "using_deprecated_foreach_syntax" shadows a variable at a preceding level
C:\Users\Administratorius\Desktop\Ainis\[ gm ]\gamemodes\gamemode.pwn(2231) : warning 219: local variable "using_deprecated_foreach_syntax" shadows a variable at a preceding level
C:\Users\Administratorius\Desktop\Ainis\[ gm ]\gamemodes\gamemode.pwn(2237) : warning 219: local variable "using_deprecated_foreach_syntax" shadows a variable at a preceding level
C:\Users\Administratorius\Desktop\Ainis\[ gm ]\gamemodes\gamemode.pwn(2342) : warning 219: local variable "using_deprecated_foreach_syntax" shadows a variable at a preceding level
C:\Users\Administratorius\Desktop\Ainis\[ gm ]\gamemodes\gamemode.pwn(2527) : warning 219: local variable "using_deprecated_foreach_syntax" shadows a variable at a preceding level
C:\Users\Administratorius\Desktop\Ainis\[ gm ]\gamemodes\gamemode.pwn(2812) : warning 219: local variable "using_deprecated_foreach_syntax" shadows a variable at a preceding level
C:\Users\Administratorius\Desktop\Ainis\[ gm ]\gamemodes\gamemode.pwn(3891) : warning 219: local variable "using_deprecated_foreach_syntax" shadows a variable at a preceding level
C:\Users\Administratorius\Desktop\Ainis\[ gm ]\gamemodes\gamemode.pwn(7030) : warning 219: local variable "using_deprecated_foreach_syntax" shadows a variable at a preceding level
C:\Users\Administratorius\Desktop\Ainis\[ gm ]\gamemodes\gamemode.pwn(7109) : warning 219: local variable "using_deprecated_foreach_syntax" shadows a variable at a preceding level
C:\Users\Administratorius\Desktop\Ainis\[ gm ]\gamemodes\gamemode.pwn(7376) : warning 219: local variable "using_deprecated_foreach_syntax" shadows a variable at a preceding level
C:\Users\Administratorius\Desktop\Ainis\[ gm ]\gamemodes\gamemode.pwn(7383) : warning 219: local variable "using_deprecated_foreach_syntax" shadows a variable at a preceding level
C:\Users\Administratorius\Desktop\Ainis\[ gm ]\gamemodes\gamemode.pwn(7392) : warning 219: local variable "using_deprecated_foreach_syntax" shadows a variable at a preceding level
C:\Users\Administratorius\Desktop\Ainis\[ gm ]\gamemodes\gamemode.pwn(7527) : warning 219: local variable "using_deprecated_foreach_syntax" shadows a variable at a preceding level
C:\Users\Administratorius\Desktop\Ainis\[ gm ]\gamemodes\gamemode.pwn(7540) : warning 219: local variable "using_deprecated_foreach_syntax" shadows a variable at a preceding level
C:\Users\Administratorius\Desktop\Ainis\[ gm ]\gamemodes\gamemode.pwn(7749) : warning 219: local variable "using_deprecated_foreach_syntax" shadows a variable at a preceding level
C:\Users\Administratorius\Desktop\Ainis\[ gm ]\gamemodes\gamemode.pwn(7768) : warning 219: local variable "using_deprecated_foreach_syntax" shadows a variable at a preceding level
Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


21 Warnings.
[Finished in 11.4s]

eilutės:

foreach(Player,i)

naudojami inc iš bibliotekos:

 

#include <YSI\y_hooks>
#include <YSI\y_inline>
#include <YSI\y_dialog>
Redaguota , nario Džo
Nuoroda į komentarą
Dalintis per kitą puslapį


Svečias
Ši tema yra užrakinta.
  • Šiame puslapyje naršo:   0 nariai

    • Nėra registruotų narių peržiūrinčių šį forumą.


×
×
  • Sukurti naują...