Scripting problem..[warning]
#1

i get a warning when i compile my gamemode and cant figure out whats wrong..(i know you dont rly care about warnings but i want a warning free gamemode)
Код:
warning 201: redefinition of constant/macro (symbol "isnull(%1)")
this is what is on that line:
Код:
#define isnull(%1) \
	((!(%1[0])) || (((%1[0]) == '\1') && (!(%1[1]))))
please help.
Reply
#2

uhm, i guess isnull is already defined somewhere?
Reply
#3

no cuz if i remove that 4 errors come up
Reply
#4

Why don't you show us those 4 errors? Perhaps we could help. We will also need the lines of code which the errors are occurring on.
Reply
#5

Check your includes. Probably there is a isnull define in one of them.
Reply
#6

well oke, this warning comes when i compile: warning 201: redefinition of constant/macro (symbol "isnull(%1)")
and this error if i remove the isnull thingy(it was only 1 error this time :O): error 049: invalid line continuation
Reply
#7

Quote:
Originally Posted by multinfs
Посмотреть сообщение
well oke, this warning comes when i compile: warning 201: redefinition of constant/macro (symbol "isnull(%1)")
and this error if i remove the isnull thingy(it was only 1 error this time :O): error 049: invalid line continuation
Will you post the line of code the error is actually occurring on?
Reply
#8

WHAT THE?! the error occured on that line: ((!(%1[0])) || (((%1[0]) == '\1') && (!(%1[1])))) but i had it commented, but now when i removed it the warning disappeared! :O
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)