| Summary: | Warnings in SDL_LogEvent() | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Sam Lantinga <slouken> |
| Component: | events | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | Keywords: | target-2.0.10 |
| Version: | HG 2.0 | ||
| Hardware: | All | ||
| OS: | All | ||
Fixing these. --ryan. Wait, what platform is triggering these? I thought it was MingW, but they don't seem to be...? --ryan. Steam Link SDK on armv7 (In reply to Sam Lantinga from comment #3) > Steam Link SDK on armv7 Ok, checking. --ryan. It was the long long format specifiers that were hosing things. We have an SDL macro for print formatting 64-bit values. Fixed! https://hg.libsdl.org/SDL/rev/25998acc4810 |
../src/events/SDL_events.c: In function 'SDL_LogEvent': ../src/events/SDL_events.c:281:53: warning: unknown conversion type character '' in format [-Wformat=] SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld fingerid=%lld x=%f y=%f dx=%f dy=%f pressure=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:281:53: note: in definition of macro 'PRINT_FINGER_EVENT' SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld fingerid=%lld x=%f y=%f dx=%f dy=%f pressure=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:281:53: warning: unknown conversion type character '' in format [-Wformat=] SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld fingerid=%lld x=%f y=%f dx=%f dy=%f pressure=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:281:53: note: in definition of macro 'PRINT_FINGER_EVENT' SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld fingerid=%lld x=%f y=%f dx=%f dy=%f pressure=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:281:53: warning: format '%f' expects argument of type 'double', but argument 5 has type 'long long int' [-Wformat=] SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld fingerid=%lld x=%f y=%f dx=%f dy=%f pressure=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (uint) event->tfinger.timestamp, (long long) event->tfinger.touchId, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:281:53: note: in definition of macro 'PRINT_FINGER_EVENT' SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld fingerid=%lld x=%f y=%f dx=%f dy=%f pressure=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:281:53: warning: format '%f' expects argument of type 'double', but argument 6 has type 'long long int' [-Wformat=] SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld fingerid=%lld x=%f y=%f dx=%f dy=%f pressure=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:283:17: (long long) event->tfinger.fingerId, event->tfinger.x, event->tfinger.y, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:281:53: note: in definition of macro 'PRINT_FINGER_EVENT' SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld fingerid=%lld x=%f y=%f dx=%f dy=%f pressure=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:281:53: warning: too many arguments for format [-Wformat-extra-args] SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld fingerid=%lld x=%f y=%f dx=%f dy=%f pressure=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:281:53: note: in definition of macro 'PRINT_FINGER_EVENT' SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld fingerid=%lld x=%f y=%f dx=%f dy=%f pressure=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:281:53: warning: unknown conversion type character '' in format [-Wformat=] SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld fingerid=%lld x=%f y=%f dx=%f dy=%f pressure=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:281:53: note: in definition of macro 'PRINT_FINGER_EVENT' SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld fingerid=%lld x=%f y=%f dx=%f dy=%f pressure=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:281:53: warning: unknown conversion type character '' in format [-Wformat=] SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld fingerid=%lld x=%f y=%f dx=%f dy=%f pressure=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:281:53: note: in definition of macro 'PRINT_FINGER_EVENT' SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld fingerid=%lld x=%f y=%f dx=%f dy=%f pressure=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:281:53: warning: format '%f' expects argument of type 'double', but argument 5 has type 'long long int' [-Wformat=] SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld fingerid=%lld x=%f y=%f dx=%f dy=%f pressure=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (uint) event->tfinger.timestamp, (long long) event->tfinger.touchId, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:281:53: note: in definition of macro 'PRINT_FINGER_EVENT' SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld fingerid=%lld x=%f y=%f dx=%f dy=%f pressure=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:281:53: warning: format '%f' expects argument of type 'double', but argument 6 has type 'long long int' [-Wformat=] SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld fingerid=%lld x=%f y=%f dx=%f dy=%f pressure=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:283:17: (long long) event->tfinger.fingerId, event->tfinger.x, event->tfinger.y, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:281:53: note: in definition of macro 'PRINT_FINGER_EVENT' SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld fingerid=%lld x=%f y=%f dx=%f dy=%f pressure=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:281:53: warning: too many arguments for format [-Wformat-extra-args] SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld fingerid=%lld x=%f y=%f dx=%f dy=%f pressure=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:281:53: note: in definition of macro 'PRINT_FINGER_EVENT' SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld fingerid=%lld x=%f y=%f dx=%f dy=%f pressure=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:281:53: warning: unknown conversion type character '' in format [-Wformat=] SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld fingerid=%lld x=%f y=%f dx=%f dy=%f pressure=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:281:53: note: in definition of macro 'PRINT_FINGER_EVENT' SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld fingerid=%lld x=%f y=%f dx=%f dy=%f pressure=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:281:53: warning: unknown conversion type character '' in format [-Wformat=] SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld fingerid=%lld x=%f y=%f dx=%f dy=%f pressure=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:281:53: note: in definition of macro 'PRINT_FINGER_EVENT' SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld fingerid=%lld x=%f y=%f dx=%f dy=%f pressure=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:281:53: warning: format '%f' expects argument of type 'double', but argument 5 has type 'long long int' [-Wformat=] SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld fingerid=%lld x=%f y=%f dx=%f dy=%f pressure=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (uint) event->tfinger.timestamp, (long long) event->tfinger.touchId, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:281:53: note: in definition of macro 'PRINT_FINGER_EVENT' SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld fingerid=%lld x=%f y=%f dx=%f dy=%f pressure=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:281:53: warning: format '%f' expects argument of type 'double', but argument 6 has type 'long long int' [-Wformat=] SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld fingerid=%lld x=%f y=%f dx=%f dy=%f pressure=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:283:17: (long long) event->tfinger.fingerId, event->tfinger.x, event->tfinger.y, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:281:53: note: in definition of macro 'PRINT_FINGER_EVENT' SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld fingerid=%lld x=%f y=%f dx=%f dy=%f pressure=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:281:53: warning: too many arguments for format [-Wformat-extra-args] SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld fingerid=%lld x=%f y=%f dx=%f dy=%f pressure=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:281:53: note: in definition of macro 'PRINT_FINGER_EVENT' SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld fingerid=%lld x=%f y=%f dx=%f dy=%f pressure=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:291:53: warning: unknown conversion type character '' in format [-Wformat=] SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld gestureid=%lld numfingers=%u error=%f x=%f y=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:291:53: note: in definition of macro 'PRINT_DOLLAR_EVENT' SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld gestureid=%lld numfingers=%u error=%f x=%f y=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:291:53: warning: unknown conversion type character '' in format [-Wformat=] SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld gestureid=%lld numfingers=%u error=%f x=%f y=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:291:53: note: in definition of macro 'PRINT_DOLLAR_EVENT' SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld gestureid=%lld numfingers=%u error=%f x=%f y=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:291:53: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long long int' [-Wformat=] SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld gestureid=%lld numfingers=%u error=%f x=%f y=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (uint) event->dgesture.timestamp, (long long) event->dgesture.touchId, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:291:53: note: in definition of macro 'PRINT_DOLLAR_EVENT' SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld gestureid=%lld numfingers=%u error=%f x=%f y=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:291:53: warning: format '%f' expects argument of type 'double', but argument 6 has type 'long long int' [-Wformat=] SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld gestureid=%lld numfingers=%u error=%f x=%f y=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:293:17: (long long) event->dgesture.gestureId, (uint) event->dgesture.numFingers, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:291:53: note: in definition of macro 'PRINT_DOLLAR_EVENT' SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld gestureid=%lld numfingers=%u error=%f x=%f y=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:291:53: warning: format '%f' expects argument of type 'double', but argument 7 has type 'unsigned int' [-Wformat=] SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld gestureid=%lld numfingers=%u error=%f x=%f y=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:293:56: (long long) event->dgesture.gestureId, (uint) event->dgesture.numFingers, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:291:53: note: in definition of macro 'PRINT_DOLLAR_EVENT' SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld gestureid=%lld numfingers=%u error=%f x=%f y=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:291:53: warning: too many arguments for format [-Wformat-extra-args] SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld gestureid=%lld numfingers=%u error=%f x=%f y=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:291:53: note: in definition of macro 'PRINT_DOLLAR_EVENT' SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld gestureid=%lld numfingers=%u error=%f x=%f y=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:291:53: warning: unknown conversion type character '' in format [-Wformat=] SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld gestureid=%lld numfingers=%u error=%f x=%f y=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:291:53: note: in definition of macro 'PRINT_DOLLAR_EVENT' SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld gestureid=%lld numfingers=%u error=%f x=%f y=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:291:53: warning: unknown conversion type character '' in format [-Wformat=] SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld gestureid=%lld numfingers=%u error=%f x=%f y=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:291:53: note: in definition of macro 'PRINT_DOLLAR_EVENT' SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld gestureid=%lld numfingers=%u error=%f x=%f y=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:291:53: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long long int' [-Wformat=] SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld gestureid=%lld numfingers=%u error=%f x=%f y=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (uint) event->dgesture.timestamp, (long long) event->dgesture.touchId, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:291:53: note: in definition of macro 'PRINT_DOLLAR_EVENT' SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld gestureid=%lld numfingers=%u error=%f x=%f y=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:291:53: warning: format '%f' expects argument of type 'double', but argument 6 has type 'long long int' [-Wformat=] SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld gestureid=%lld numfingers=%u error=%f x=%f y=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:293:17: (long long) event->dgesture.gestureId, (uint) event->dgesture.numFingers, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:291:53: note: in definition of macro 'PRINT_DOLLAR_EVENT' SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld gestureid=%lld numfingers=%u error=%f x=%f y=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:291:53: warning: format '%f' expects argument of type 'double', but argument 7 has type 'unsigned int' [-Wformat=] SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld gestureid=%lld numfingers=%u error=%f x=%f y=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:293:56: (long long) event->dgesture.gestureId, (uint) event->dgesture.numFingers, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:291:53: note: in definition of macro 'PRINT_DOLLAR_EVENT' SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld gestureid=%lld numfingers=%u error=%f x=%f y=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:291:53: warning: too many arguments for format [-Wformat-extra-args] SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld gestureid=%lld numfingers=%u error=%f x=%f y=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:291:53: note: in definition of macro 'PRINT_DOLLAR_EVENT' SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld gestureid=%lld numfingers=%u error=%f x=%f y=%f)", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:300:79: warning: unknown conversion type character '' in format [-Wformat=] SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%ld dtheta=%f ddist=%f x=%f y=%f numfingers=%u)", ../src/events/SDL_events.c:300:90: warning: format '%f' expects argument of type 'double', but argument 5 has type 'long long int' [-Wformat=] SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld dtheta=%f ddist=%f x=%f y=%f numfingers=%u)", ~^ %I64d (uint) event->mgesture.timestamp, (long long) event->mgesture.touchId, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:300:123: warning: format '%u' expects argument of type 'unsigned int', but argument 9 has type 'double' [-Wformat=] SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld dtheta=%f ddist=%f x=%f y=%f numfingers=%u)", ~^ %f ../src/events/SDL_events.c:303:36: event->mgesture.x, event->mgesture.y, (uint) event->mgesture.numFingers); ~~~~~~~~~~~~~~~~~ ../src/events/SDL_events.c:300:53: warning: too many arguments for format [-Wformat-extra-args] SDL_snprintf(details, sizeof (details), " (timestamp=%u touchid=%lld dtheta=%f ddist=%f x=%f y=%f numfingers=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~