SA-MP Forums Archive
warning 201: redefinition of constant/macro (File::%1) - Foreach - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: warning 201: redefinition of constant/macro (File::%1) - Foreach (/showthread.php?tid=487927)



warning 201: redefinition of constant/macro (File::%1) - Foreach - Brandon_More - 15.01.2014

Код:
(226) : warning 201: redefinition of constant/macro (symbol "File::%1(")
Wow, I don't know.. I presume it's defined inside Foreach include or something, I have no idea what this is :S


Re: warning 201: redefinition of constant/macro (File::%1) - Foreach - Excelize - 16.01.2014

Show us the line it's on.


Re: warning 201: redefinition of constant/macro (File::%1) - Foreach - Konstantinos - 16.01.2014

It's not from foreach include. It's somewhere defined so if it's a macro you're trying to make, then just change its name to something else.


Re: warning 201: redefinition of constant/macro (File::%1) - Foreach - Brandon_More - 16.01.2014

pawn Код:
#define File::%1( File__%1(
#define Misc::%1( Misc__%1(
#define function:%1(%2)         \
            forward %1(%2);     \
            public %1(%2)



Re: warning 201: redefinition of constant/macro (File::%1) - Foreach - Raza2013 - 16.01.2014

well i think you've defined double times