You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
engine_test.c:89: warning: passing argument 1 of ‘sprintf’ from incompatible pointer type
/usr/include/stdio.h:363: note: expected ‘char * restrict’ but argument is of type ‘union TCEMessage *’
engine_test.c:109: warning: passing argument 1 of ‘sprintf’ from incompatible pointer type
/usr/include/stdio.h:363: note: expected ‘char * restrict’ but argument is of type ‘union TCEMessage *’
engine_test.c:118: warning: passing argument 1 of ‘sprintf’ from incompatible pointer type
/usr/include/stdio.h:363: note: expected ‘char * restrict’ but argument is of type ‘union TCEMessage *’
engine_test.c:130: warning: passing argument 1 of ‘sprintf’ from incompatible pointer type
/usr/include/stdio.h:363: note: expected ‘char * restrict’ but argument is of type ‘union TCEMessage *’
engine_test.c:140: warning: passing argument 1 of ‘sprintf’ from incompatible pointer type
/usr/include/stdio.h:363: note: expected ‘char * restrict’ but argument is of type ‘union TCEMessage *’
engine_test.c:145: warning: passing argument 1 of ‘sprintf’ from incompatible pointer type
/usr/include/stdio.h:363: note: expected ‘char * restrict’ but argument is of type ‘union TCEMessage *’
engine_test.c:155: warning: passing argument 1 of ‘sprintf’ from incompatible pointer type
/usr/include/stdio.h:363: note: expected ‘char * restrict’ but argument is of type ‘union TCEMessage *’
The text was updated successfully, but these errors were encountered:
Cannot sprintf with a union:
engine_test.c:89: warning: passing argument 1 of ‘sprintf’ from incompatible pointer type
/usr/include/stdio.h:363: note: expected ‘char * restrict’ but argument is of type ‘union TCEMessage *’
engine_test.c:109: warning: passing argument 1 of ‘sprintf’ from incompatible pointer type
/usr/include/stdio.h:363: note: expected ‘char * restrict’ but argument is of type ‘union TCEMessage *’
engine_test.c:118: warning: passing argument 1 of ‘sprintf’ from incompatible pointer type
/usr/include/stdio.h:363: note: expected ‘char * restrict’ but argument is of type ‘union TCEMessage *’
engine_test.c:130: warning: passing argument 1 of ‘sprintf’ from incompatible pointer type
/usr/include/stdio.h:363: note: expected ‘char * restrict’ but argument is of type ‘union TCEMessage *’
engine_test.c:140: warning: passing argument 1 of ‘sprintf’ from incompatible pointer type
/usr/include/stdio.h:363: note: expected ‘char * restrict’ but argument is of type ‘union TCEMessage *’
engine_test.c:145: warning: passing argument 1 of ‘sprintf’ from incompatible pointer type
/usr/include/stdio.h:363: note: expected ‘char * restrict’ but argument is of type ‘union TCEMessage *’
engine_test.c:155: warning: passing argument 1 of ‘sprintf’ from incompatible pointer type
/usr/include/stdio.h:363: note: expected ‘char * restrict’ but argument is of type ‘union TCEMessage *’
The text was updated successfully, but these errors were encountered: