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.