[Haiku-commits] r30945 - in haiku/trunk: headers/posix src/system/libroot/posix/glibc/arch/generic src/system/libroot/posix/glibc/arch/m68k src/system/libroot/posix/glibc/arch/ppc

Michael Weirauch dev at m-phasis.de
Wed Jun 3 22:26:30 CEST 2009


2009/6/2 korli at BerliOS <korli at mail.berlios.de>:
> Author: korli
> Date: 2009-06-02 22:24:18 +0200 (Tue, 02 Jun 2009)
> New Revision: 30945
> ViewCVS: http://svn.berlios.de/viewcvs/haiku?rev=30945&view=rev
>
> Added:
>   haiku/trunk/src/system/libroot/posix/glibc/arch/generic/s_llrint.c
>   haiku/trunk/src/system/libroot/posix/glibc/arch/generic/s_llrintf.c
>   haiku/trunk/src/system/libroot/posix/glibc/arch/generic/s_llrintl.c
>   haiku/trunk/src/system/libroot/posix/glibc/arch/generic/s_lrint.c
>   haiku/trunk/src/system/libroot/posix/glibc/arch/generic/s_lrintf.c
>   haiku/trunk/src/system/libroot/posix/glibc/arch/generic/s_lrintl.c
> Modified:
>   haiku/trunk/headers/posix/math.h
>   haiku/trunk/src/system/libroot/posix/glibc/arch/m68k/Jamfile
>   haiku/trunk/src/system/libroot/posix/glibc/arch/ppc/Jamfile
> Log:
> added lrint and llrint functions to math.h
> added generic implementations for ppc and m68k

Can it be that the following is required for the gcc4 build now?

Index: src/add-ons/media/plugins/avcodec/libavcodec/config.h
===================================================================
--- src/add-ons/media/plugins/avcodec/libavcodec/config.h	(Revision 30951)
+++ src/add-ons/media/plugins/avcodec/libavcodec/config.h	(Arbeitskopie)
@@ -73,7 +73,7 @@
 #define HAVE_LIBDC1394_2 0
 #define HAVE_LLRINT 1
 #define HAVE_LRINT 1
-#define HAVE_LRINTF 0
+#define HAVE_LRINTF 1
 #define HAVE_MACHINE_IOCTL_BT848_H 0
 #define HAVE_MACHINE_IOCTL_METEOR_H 0
 #define HAVE_MALLOC_H 1

Asking because of:

Cc /store/data/devel/haiku/svn/trunk/generated4/objects/haiku/x86/release/add-ons/media/plugins/avcodec/libavcodec/4xm.o
In file included from
/store/data/devel/haiku/svn/trunk/src/add-ons/media/plugins/avcodec/libavcodec/../libavutil/common.h:283,
                 from
/store/data/devel/haiku/svn/trunk/src/add-ons/media/plugins/avcodec/libavcodec/../libavutil/bswap.h:31,
                 from
/store/data/devel/haiku/svn/trunk/src/add-ons/media/plugins/avcodec/libavcodec/../libavutil/intreadwrite.h:24,
                 from
/store/data/devel/haiku/svn/trunk/src/add-ons/media/plugins/avcodec/libavcodec/4xm.c:27:
/store/data/devel/haiku/svn/trunk/src/add-ons/media/plugins/avcodec/libavcodec/../libavutil/internal.h:290:
error: static declaration of 'lrintf' follows non-static declaration

Michael



More information about the Haiku-commits mailing list