[Live-devel] live.com build fix for gcc 3.3x

Ross Finlayson finlayson at live.com
Fri Feb 20 02:54:12 PST 2004

At 07:57 AM 2/19/04, you wrote:
>Am Do 19 Feb 2004 07:20:13 GMT schrieb Ross Finlayson:
> > Does anyone know of an #ifdef (of #if) that will test for the version of
> > gcc (and work OK both for old versions of gcc, and for other, non-gcc
> > compilers)?
>bitstream.h from liba52 contains this:
>#if defined(__GNUC__) && (__GNUC__ > 3 || __GNUC_ == 3 && __GNUC_MINOR__ > 0)

FYI, I have now added this to the two files ("groupsock/Groupsock.cpp" and 
"groupsock/NetInterface.cpp") that #include <strstream.h>.  They should now 
#include <strstream.h> for GCC versions < 3, and #include <strstream> for 
GCC versions >= 3.

Could someone with GCC 3.* please download the latest version (2004.02.20) 
of the code, and confirm that it now compiles OK without the file 

	Ross Finlayson

More information about the live-devel mailing list