Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
isv:hp:education
SDL
SDL-1.2.13-no_anonymus_enum.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File SDL-1.2.13-no_anonymus_enum.patch of Package SDL
g++ >= 4.0 will reject the use of anonymous types in anonymous enums when trying to instantiate a template for operator<< ================================================================================ --- include/SDL_events.h +++ include/SDL_events.h @@ -44,7 +44,7 @@ #define SDL_PRESSED 1 /* Event enumerations */ -typedef enum { +typedef enum _SDL_event_num { SDL_NOEVENT = 0, /* Unused (do not remove) */ SDL_ACTIVEEVENT, /* Application loses/gains visibility */ SDL_KEYDOWN, /* Keys pressed */ @@ -79,7 +79,7 @@ /* Predefined event masks */ #define SDL_EVENTMASK(X) (1<<(X)) -typedef enum { +typedef enum _SDL_event_mask { SDL_ACTIVEEVENTMASK = SDL_EVENTMASK(SDL_ACTIVEEVENT), SDL_KEYDOWNMASK = SDL_EVENTMASK(SDL_KEYDOWN), SDL_KEYUPMASK = SDL_EVENTMASK(SDL_KEYUP),
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor