Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools/engine_test.c #1

Open
sqqqrly opened this issue Feb 12, 2014 · 0 comments
Open

tools/engine_test.c #1

sqqqrly opened this issue Feb 12, 2014 · 0 comments
Labels

Comments

@sqqqrly
Copy link
Owner

sqqqrly commented Feb 12, 2014

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 *’

@sqqqrly sqqqrly added the bug label Feb 12, 2014
@sqqqrly sqqqrly closed this as completed Feb 12, 2014
@sqqqrly sqqqrly reopened this Feb 12, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant