[Pomoc] Warninzi

Započeo Gunnarson, April 11, 2011, 14:34:10 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 3 gostiju pregledaju ovu temu.

Skripta koju koristim:Faction Game edit
Detaljan opis problema:Nzm u cemu je problem..kad compile mod izbaci mi 79 warninga
Dio skripte:C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(28) : warning 201: redefinition of constant/macro (symbol "MAX_STRING")
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(1959) : warning 235: public function lacks forward declaration (symbol "GateClose1")
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(1968) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(2012) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(2050) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(2116) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(2176) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(2261) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(2901) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(3123) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(3158) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(3171) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(3181) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(3207) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(3229) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(3324) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(3339) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(3386) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(3401) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(3454) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(3559) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(4113) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(4758) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(4768) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(4778) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(4788) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(4800) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(6279) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(6344) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(6378) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(6886) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(7550) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(7836) : warning 225: unreachable code
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(8313) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(8524) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(9247) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(9292) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(11137) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(17831) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(17889) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(17923) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(18967) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(18973) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(18991) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(19002) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(19013) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(19024) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(19035) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(19046) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(19060) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(19074) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(19085) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(19097) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(19109) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(19119) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(19129) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(19280) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(20348) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(29365) : warning 219: local variable "mod" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(41245) : warning 216: nested comment
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(51781) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(51909) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(52348) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(52367) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(55107) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(55137) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(55626) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(56496) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(56752) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(56891) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(56926) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Savanovic\Desktop\Reality Roleplay\Reality RP\gamemodes\reality.pwn(56984) : warning 203: symbol is never used: "ret_memcpy"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


79 Warnings.

Neke slike/video za lakse dobivanje pomoci(neobavezno): //

poznaticovik

WARNING "GateClose1" - Nemaš forward.

WARNING "mod" - uÄ'i u "dutils.inc" i obriÅ¡i sve Å¡to ima naziv "mod"

WARNING "ret_memcpy" - obriši ga ili dodaj napočetak "#pragma unused ret_memcpy"

Ovo ne znam šta si izbrljao. Za ovo MAX_STRING probaj promjeniti jel koliko znam to već ima u "dutils" pa valjda zato baca warninge.
Poslednja Izmena: April 11, 2011, 14:45:34 POSLE PODNE od [M]att

ee hvala ovo sam poppravio..jos samo da se rijesim ovih 76 warninga sto je ostalo :)

Edit:Ako jos neko zna do cega je nek se javi ovdje..svaka pomoc je dobrodosla :D
Poslednja Izmena: April 11, 2011, 14:55:54 POSLE PODNE od dario94

poznaticovik

Morat ćeš nam dati linije da vidim o čeme se radi.

1970 new name[MAX_PLAYER_NAME], string[48];
2014 new string[256];
2052 new string[256];
2118 new string[256];
2263 public Encrypt(string[])
2903 new string[128];
3213 strmid(FamilyInfo[family][FamilyMOTD], string, 0, strlen(string), 255);
3403 new string[MAX_PLAYER_NAME];



znaci sve se svodi na ovakve greske..samo da smanjim broj warninga..ruzno vidjeti..moze se tolerisati 2-3..:)
Poslednja Izmena: April 11, 2011, 15:04:23 POSLE PODNE od dario94