Red Hat Bugzilla – Bug 177857
Error in SDL_net.h header file
Last modified: 2008-05-01 11:38:06 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050922 Fedora/1.0.7-1.1.fc3 Firefox/1.0.7
Description of problem:
This error occurs only if SDL_net.h is included in C++ source code. It is caused by extra semicolon at the end of this file:
/* Ends C function definitions when using C++ */
This ';' after '}' should be removed.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Download sources of any game that uses SDL_net (i.e. OpenCity from sourceforge)
2. Run ./configure script
3. Type make
Actual Results: In file included from netnode.h:24,
/usr/include/SDL/SDL_net.h:416: error: extra `;'
Expected Results: Proper compilation
Fedora Core 3 is now maintained by the Fedora Legacy project for security
updates only. If this problem is a security issue, please reopen and
reassign to the Fedora Legacy product. If it is not a security issue and
hasn't been resolved in the current FC5 updates or in the FC6 test
release, reopen and change the version to match.
As I assumed, SDL_net has been moved to FC5 Extras and the error that I've
mentioned seem to be fixed now (I've checked SDL_net.h and it looks OK now), so
we can assume that the bug is fixed in current release.