wrong waringon compline ?????
#1

on my GM i have this warings


pawn Код:
D:\Users\Administrator\Desktop\Holliwood FIX\gamemodes\larp.pwn(43171) : warning 203: symbol is never used: "ClassSel_HandleCitySelection"
D:\Users\Administrator\Desktop\Holliwood FIX\gamemodes\larp.pwn(43171) : warning 203: symbol is never used: "ClassSel_InitCityNameText"
D:\Users\Administrator\Desktop\Holliwood FIX\gamemodes\larp.pwn(43171) : warning 203: symbol is never used: "ClassSel_InitTextDraws"
D:\Users\Administrator\Desktop\Holliwood FIX\gamemodes\larp.pwn(43171) : warning 203: symbol is never used: "ClassSel_SetupCharSelection"
D:\Users\Administrator\Desktop\Holliwood FIX\gamemodes\larp.pwn(43171) : warning 203: symbol is never used: "ClassSel_SetupSelectedCity"
D:\Users\Administrator\Desktop\Holliwood FIX\gamemodes\larp.pwn(43171) : warning 203: symbol is never used: "ClassSel_SwitchToNextCity"
D:\Users\Administrator\Desktop\Holliwood FIX\gamemodes\larp.pwn(43171) : warning 203: symbol is never used: "ClassSel_SwitchToPreviousCity"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase

Header size:      9196 bytes
Code size:     1651576 bytes
Data size:     10360376 bytes
Stack/heap size:   16384 bytes; estimated max. usage=5266 cells (21064 bytes)
Total requirements:12037532 bytes

7 Warnings.
Reply
#2

They are warnings, not errors. It compiles succefully.

The warning "symbol is never used" means that you have declared the variables but not used them.
You can:
-Ignore the warnings
-Use this somewhere at the top of the script:
pawn Код:
#pragma unused ClassSel_HandleCitySelection
#pragma unused ClassSel_InitCityNameText
#pragma unused ClassSel_InitTextDraws
#pragma unused ClassSel_SetupCharSelection
#pragma unused ClassSel_SetupSelectedCity
#pragma unused ClassSel_SwitchToNextCity
#pragma unused ClassSel_SwitchToPreviousCity
-Delete the variables
Reply
#3

thx
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)