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 2721 - fix SDL_test_fuzzer.c compilation
Summary: fix SDL_test_fuzzer.c compilation
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: build (show other bugs)
Version: HG 2.0
Hardware: x86 Linux
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords: target-2.0.4, triage-2.0.4
Depends on:
Blocks:
 
Reported: 2014-09-08 10:34 UTC by Ozkan Sezer
Modified: 2015-05-28 18:35 UTC (History)
1 user (show)

See Also:


Attachments
SDL_test_fuzzer.c compilation fix (485 bytes, patch)
2014-09-08 10:34 UTC, Ozkan Sezer
Details | Diff
(patch for SDL_string.c) (365 bytes, patch)
2015-03-11 10:18 UTC, Ozkan Sezer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ozkan Sezer 2014-09-08 10:34:42 UTC
Created attachment 1863 [details]
SDL_test_fuzzer.c compilation fix

The attached patch fixes SDL_test_fuzzer.c compilation with some
setups. (LLONG_MAX and ULLONG_MAX may not be defined unless
_GNU_SOURCE is defined, seen with glibc-2.8.)
Comment 1 Ryan C. Gordon 2015-02-19 05:22:19 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 Ozkan Sezer 2015-03-11 10:18:31 UTC
Created attachment 2060 [details]
(patch for SDL_string.c)

Related:  with glibc-2.8, stdlib/SDL_string.c spits a warning because
the prototype for vsscanf() is not available to it.  Attached another
tiny patch for it.
Comment 3 Ryan C. Gordon 2015-04-07 04:57:54 UTC
(sorry if you get a lot of copies of this email, I'm marking several bugs at once)

Marking bugs for the (mostly) final 2.0.4 TODO list. This means we're hoping to resolve this bug before 2.0.4 ships if possible. In a perfect world, the open bug count with the target-2.0.4 keyword is zero when we ship.

(Note that closing a bug report as WONTFIX, INVALID or WORKSFORME might still happen.)

--ryan.
Comment 4 Ryan C. Gordon 2015-05-26 20:45:29 UTC
This patch is now https://hg.libsdl.org/SDL/rev/564b57497f2b, thanks!

--ryan.
Comment 5 Ozkan Sezer 2015-05-26 20:57:03 UTC
You may also be interested in the patch for SDL_string.c from comment #2.
Comment 6 Ryan C. Gordon 2015-05-28 18:35:31 UTC
(In reply to Ozkan Sezer from comment #5)
> You may also be interested in the patch for SDL_string.c from comment #2.

Oh, I had missed that, thank you.

That patch is now https://hg.libsdl.org/SDL/rev/418e4dee26cb, thanks!

--ryan.