Bug 177857 - Error in SDL_net.h header file
Summary: Error in SDL_net.h header file
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: SDL_net
Version: 3
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Thomas Woerner
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-01-15 19:09 UTC by Paul Osmialowski
Modified: 2008-05-01 15:38 UTC (History)
1 user (show)

Fixed In Version: FC5 Extras
Clone Of:
Environment:
Last Closed: 2006-07-11 15:29:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Paul Osmialowski 2006-01-15 19:09:53 UTC
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++ */
#ifdef __cplusplus
};
#endif

This ';' after '}' should be removed.


Version-Release number of selected component (if applicable):
SDL_net-devel-1.2.5-2

How reproducible:
Always

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,
                 from networking.cpp:19:
/usr/include/SDL/SDL_net.h:416: error: extra `;'


Expected Results:  Proper compilation

Additional info:

Comment 1 Matthew Miller 2006-07-10 22:29:56 UTC
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.

Thank you!


Comment 2 Paul Osmialowski 2006-07-11 15:29:44 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.