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 2688 - failure to build test/loopwavequeue.c on Linux
Summary: failure to build test/loopwavequeue.c on Linux
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: *don't know* (show other bugs)
Version: 2.0.3
Hardware: x86_64 Linux
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-17 10:27 UTC by Benoit Pierre
Modified: 2014-10-16 13:09 UTC (History)
1 user (show)

See Also:


Attachments
patch to fix test/loopwavequeue.c compilation (569 bytes, patch)
2014-08-17 10:27 UTC, Benoit Pierre
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Benoit Pierre 2014-08-17 10:27:48 UTC
Created attachment 1826 [details]
patch to fix test/loopwavequeue.c compilation

Compiler output:

loopwavequeue.c: In function ‘main’:
loopwavequeue.c:81:12: error: ‘SIGINT’ undeclared (first use in this function)
     signal(SIGINT, poked);
            ^
loopwavequeue.c:81:12: note: each undeclared identifier is reported only once for each function it appears in
loopwavequeue.c:85:12: error: ‘SIGTERM’ undeclared (first use in this function)
     signal(SIGTERM, poked);
            ^
The attached patch fix this by moving the conditional signal.h include after the SDL.h include.
Comment 1 Gabriel Jacobo 2014-10-16 13:09:19 UTC
This seems to have been fixed at some point.