Help with warnings [+REP]
#1

Код:
D:\games\Скинове О.О\Без гангове\pawno\include\Double-O-Files.inc(477) : warning 201: redefinition of constant/macro (symbol "dUser(%0).(")
D:\games\Скинове О.О\Без гангове\pawno\include\Double-O-Files.inc(478) : warning 201: redefinition of constant/macro (symbol "dUserSet(%0).(")
D:\games\Скинове О.О\Без гангове\pawno\include\Double-O-Files.inc(479) : warning 201: redefinition of constant/macro (symbol "dUserINT(%0).(")
D:\games\Скинове О.О\Без гангове\pawno\include\Double-O-Files.inc(480) : warning 201: redefinition of constant/macro (symbol "dUserSetINT(%0).(")
D:\games\Скинове О.О\Без гангове\pawno\include\Double-O-Files.inc(481) : warning 201: redefinition of constant/macro (symbol "dUserFLOAT(%0).(")
D:\games\Скинове О.О\Без гангове\pawno\include\Double-O-Files.inc(482) : warning 201: redefinition of constant/macro (symbol "dUserSetFLOAT(%0).(")
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


6 Warnings.
Reply
#2

Have you defined any of these macros/values somewhere else in your script/inclues?
Reply
#3

place #undef "symbol name" without quotes, before you define these symbols..
that should get rid of the warnings..
Reply
#4

Quote:
Originally Posted by Jari_Johnson*
Посмотреть сообщение
place #undef "symbol name" without quotes, before you define these symbols..
that should get rid of the warnings..
Not work..

Quote:
Originally Posted by Ranama
Посмотреть сообщение
Have you defined any of these macros/values somewhere else in your script/inclues?
I think - no..
Reply
#5

Help?
Reply
#6

Please help me to fix warnings :@
Reply
#7

You have to define them, so that no errors will come.

As Jari said,

place #undef "symbol name" without quotes, before you define these symbols.

Hope this help!

Regards,
Vinnie
Reply
#8

Define like this ? :

Код:
#define dUser(%0).(")
Reply
#9

pawn Код:
#undef dUser(%0).(")
Reply
#10

Yes, like that
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)