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 2733 - MSVC warning C4127
Summary: MSVC warning C4127
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: *don't know* (show other bugs)
Version: 2.0.3
Hardware: x86_64 Windows 8
: P2 enhancement
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords: triage-2.0.4
Depends on:
Blocks:
 
Reported: 2014-09-20 12:36 UTC by Nader Golbaz
Modified: 2015-04-07 04:40 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nader Golbaz 2014-09-20 12:36:57 UTC
I'm using VS 2013 with /W4 and SDL_assert() generates this warning:
C4127: conditional expression is constant

possible solution: http://stackoverflow.com/a/1947233
Comment 1 Ryan C. Gordon 2015-02-19 06:32:14 UTC
Marking a large number of bugs with the "triage-2.0.4" keyword at once. Sorry
if you got a lot of email from this. This is to help me sort through some bugs
in regards to a 2.0.4 release. We may or may not fix this bug for 2.0.4,
though!
Comment 2 Ryan C. Gordon 2015-04-07 04:40:03 UTC
This is now fixed (I think!) in https://hg.libsdl.org/SDL/rev/d5925549bfe0 ...

--ryan.