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 - anonymous enums
Summary: anonymous enums
Status: RESOLVED INVALID
Alias: None
Product: SDL
Classification: Unclassified
Component: events (show other bugs)
Version: HG 1.2
Hardware: All Linux
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-18 05:37 UTC by Ludwig Nussel
Modified: 2009-10-18 11:43 UTC (History)
0 users

See Also:


Attachments
patch (1.14 KB, patch)
2009-10-18 05:37 UTC, Ludwig Nussel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.