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 1282

Summary: Pedantic warning on include
Product: SDL Reporter: andre
Component: *don't know*Assignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 2.0   
Hardware: x86_64   
OS: Linux   
Attachments: Patch to correct error

Description andre 2011-08-20 09:56:58 UTC
If building a project with pedantic as errors, the build will fail because of a problem which can be fixed as attached.

/sdl/include/SDL/SDL_assert.h:102:32: warning: comma at end of enumerator list [-pedantic]
Comment 1 andre 2011-08-20 09:57:29 UTC
Created attachment 676 [details]
Patch to correct error
Comment 2 Ryan C. Gordon 2011-08-22 12:09:05 UTC
This is in my sandbox repo, and will move to the main repository soon. I'll resolve the bug when the patch moves.

Thanks!

--ryan.
Comment 3 Ryan C. Gordon 2011-08-23 13:54:15 UTC
This is fixed in hg changeset 0a9b94c0613c, thanks!

--ryan.