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 - Pedantic warning on include
Summary: Pedantic warning on include
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: *don't know* (show other bugs)
Version: HG 2.0
Hardware: x86_64 Linux
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-20 09:56 UTC by andre
Modified: 2011-08-23 13:54 UTC (History)
0 users

See Also:


Attachments
Patch to correct error (566 bytes, patch)
2011-08-20 09:57 UTC, andre
Details | Diff

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