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 854

Summary: anonymous enums
Product: SDL Reporter: Ludwig Nussel <ludwig.nussel>
Component: eventsAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED INVALID QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 1.2   
Hardware: All   
OS: Linux   
Attachments: patch

Description Ludwig Nussel 2009-10-18 05:37:26 UTC
Created attachment 423 [details]
patch

I found the attached patch with the following description in SUSE's SDL
package, might be worth including:

> g++ >= 4.0 will reject the use of anonymous types in anonymous enums
> when trying to instantiate a template for operator<<
Comment 1 Sam Lantinga 2009-10-18 10:49:01 UTC
Can you provide a test case for this?
If this really is a problem, someone needs to run through all the enums and name them, not just fix these two.
Comment 2 Ludwig Nussel 2009-10-18 11:43:40 UTC
Unfortunately not. The patch is from 2005 and the changelog doesn't refer to a bug number. If there are more enums of the same kind the patch likely doesn't make sense indeed. Maybe it was a temporary issue back then. I'll close as invalid then and have the patch removed from the SUSE package.