[x264-devel] linking error workaround
Christian Bienia
cbienia at CS.Princeton.EDU
Wed Oct 4 22:45:01 CEST 2006
Hi,
apparently there's some problems with x264's use of ISO C99 features on
Solaris. The Solaris header files require that the ISO C99 declarations
are explicitly included. GCC can do that automatically if "-std=c99" is
used during compilation, or it can be done explicitly by defining
__C99FEATURES__. However, that brakes compilation. A simple workaround I
could use successfully to get a working binary is to:
#define isfinite finite
in ratecontrol.c for SYS_SunOS as has been done e.g. for OpenBSD.
- Chris
--
This is the x264-devel mailing-list
To unsubscribe, go to: http://developers.videolan.org/lists.html
More information about the x264-devel
mailing list