[Kde-games-devel] Review Request 127517: Include <time.h>.
Tobias Berner
tcberner at gmail.com
Mon Mar 28 22:46:03 UTC 2016
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/127517/
-----------------------------------------------------------
(Updated March 29, 2016, 12:46 a.m.)
Status
------
This change has been marked as submitted.
Review request for KDE Games, Raphael Kubo da Costa and Frederik Schwarzer.
Changes
-------
Submitted with commit 14cbfdbda2207b797cc27b4087f504ab6154fe7e by Albert Astals Cid on behalf of Tobias Berner to branch Applications/16.04.
Repository: knavalbattle
Description
-------
This fixes a build error on FreeBSD:
/wrkdirs/usr/ports/games/knavalbattle/work/knavalbattle-16.03.80/src/ai/dummyai.cpp:16:12: error: use of undeclared identifier 'time'
qsrand(time(0));
Diffs
-----
src/ai/dummyai.cpp adf4094
src/ai/smartai.cpp 1c702a5
Diff: https://git.reviewboard.kde.org/r/127517/diff/
Testing
-------
Built locally.
Thanks,
Tobias Berner
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-games-devel/attachments/20160328/caa8accd/attachment.html>
More information about the kde-games-devel
mailing list