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 2933

Summary: Silence -Wunused-value in SDL_assert.h.
Product: SDL Reporter: Rohit Nirmal <rohitnirmal9>
Component: *don't know*Assignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: minor    
Priority: P2    
Version: HG 2.1   
Hardware: x86_64   
OS: Linux   
Attachments: Patch for SDL_assert.h

Description Rohit Nirmal 2015-04-08 03:46:51 UTC
The fix to bug 2733 (https://hg.libsdl.org/SDL/rev/d5925549bfe0) brings up several "left-hand operand of comma expression has no effect" warnings in gcc on my Antergos setup. Since the original fix was intended for MSVC, only use the fix for that platform.
Comment 1 Rohit Nirmal 2015-04-08 03:47:20 UTC
Created attachment 2110 [details]
Patch for SDL_assert.h
Comment 2 Ryan C. Gordon 2015-06-01 04:10:41 UTC
This was fixed (with basically the exact same patch) here:

https://hg.libsdl.org/SDL/rev/1c41db87ce20

Thanks!

--ryan.