We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 4672 - Warnings in SDL_LogEvent()
Summary: Warnings in SDL_LogEvent()
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: events (show other bugs)
Version: HG 2.0
Hardware: All All
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords: target-2.0.10
Depends on:
Blocks:
 
Reported: 2019-06-18 15:05 UTC by Sam Lantinga
Modified: 2019-06-20 00:12 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Lantinga 2019-06-18 15:05:34 UTC
../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)",
                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Comment 1 Ryan C. Gordon 2019-06-18 20:17:33 UTC
Fixing these.

--ryan.
Comment 2 Ryan C. Gordon 2019-06-18 20:23:32 UTC
Wait, what platform is triggering these? I thought it was MingW, but they don't seem to be...?

--ryan.
Comment 3 Sam Lantinga 2019-06-18 21:13:27 UTC
Steam Link SDK on armv7
Comment 4 Ryan C. Gordon 2019-06-18 22:42:15 UTC
(In reply to Sam Lantinga from comment #3)
> Steam Link SDK on armv7

Ok, checking.

--ryan.
Comment 5 Sam Lantinga 2019-06-20 00:12:20 UTC
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