Tag mismatch
#6

Quote:
Originally Posted by Paulice
Посмотреть сообщение
You must compile:
PHP код:
strcat(((test[E_WTF])[0] = '\0'test[E_WTF]), name); // Warning: tag mismatch 
Or:
PHP код:
(test[E_WTF])[0] = EOS
eheheh sorry I wasn't paying attention yesterday :c
By the way, you may probably already know it, but
Код:
        strcat(((test[E_WTF][0]) = '\0', test[E_WTF]), name);
        (test[E_WTF][0]) = EOS;
doesn't show up the tag mismatch warning. Doing this
Код:
(test[E_WTF][0])[1] = EOS;
gives the tag mismatch warning aswell. But if we do
Код:
new playerid[1];
(playerid)[0] = 1;
Compiler won't complain. Maybe the warning shows up because the E_WTF belongs to an enum? Indeed,
Код:
new playerid[E_TEST];
(playerid)[0] = 1;
shows up the warning.
Reply


Messages In This Thread
Tag mismatch - by Misiur - 03.09.2017, 21:30
Re: Tag mismatch - by Misiur - 03.09.2017, 21:32
Re: Tag mismatch - by Paulice - 04.09.2017, 00:01
Re: Tag mismatch - by kAn3 - 04.09.2017, 00:07
Re: Tag mismatch - by Paulice - 04.09.2017, 00:15
Re: Tag mismatch - by kAn3 - 04.09.2017, 10:27
Re: Tag mismatch - by JasonRiggs - 04.09.2017, 10:30
Re: Tag mismatch - by Misiur - 04.09.2017, 12:43

Forum Jump:


Users browsing this thread: 3 Guest(s)