mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
configure.ac: Check if the compiler supports do { } while (0) macros. This fixes a warning when compiling with g++ 4....
Original commit message from CVS: * configure.ac: Check if the compiler supports do { } while (0) macros. This fixes a warning when compiling with g++ 4.3, resulting in a build failure because of -Werror. * ext/mpeg2enc/gstmpeg2encpicturereader.cc: * ext/mplex/gstmplex.cc: Include <string.h> for memcpy and friends to fix the build with gcc 4.3. * tests/check/Makefile.am: Remove trailing backslash.
This commit is contained in:
parent
29d918352b
commit
5f1bb9fd9c
6 changed files with 23 additions and 2 deletions
15
ChangeLog
15
ChangeLog
|
@ -1,3 +1,18 @@
|
||||||
|
2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
|
||||||
|
|
||||||
|
* configure.ac:
|
||||||
|
Check if the compiler supports do { } while (0) macros. This fixes
|
||||||
|
a warning when compiling with g++ 4.3, resulting in a build failure
|
||||||
|
because of -Werror.
|
||||||
|
|
||||||
|
* ext/mpeg2enc/gstmpeg2encpicturereader.cc:
|
||||||
|
* ext/mplex/gstmplex.cc:
|
||||||
|
Include <string.h> for memcpy and friends to fix the build with
|
||||||
|
gcc 4.3.
|
||||||
|
|
||||||
|
* tests/check/Makefile.am:
|
||||||
|
Remove trailing backslash.
|
||||||
|
|
||||||
2008-03-20 Wim Taymans <wim.taymans@collabora.co.uk>
|
2008-03-20 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||||
|
|
||||||
* gst/selector/gstinputselector.c:
|
* gst/selector/gstinputselector.c:
|
||||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
||||||
Subproject commit 170f8e91adc7157f6e708ffa58ca22d10e4e45da
|
Subproject commit 9a358e5cc3977fd6121f12dd25a358081fd77041
|
|
@ -107,6 +107,9 @@ AS_PROG_OBJC
|
||||||
dnl check if the compiler supports '-c' and '-o' options
|
dnl check if the compiler supports '-c' and '-o' options
|
||||||
AM_PROG_CC_C_O
|
AM_PROG_CC_C_O
|
||||||
|
|
||||||
|
dnl check if the compiler supports do while(0) macros
|
||||||
|
AG_GST_CHECK_DOWHILE_MACROS
|
||||||
|
|
||||||
AC_PATH_PROG(VALGRIND_PATH, valgrind, no)
|
AC_PATH_PROG(VALGRIND_PATH, valgrind, no)
|
||||||
AM_CONDITIONAL(HAVE_VALGRIND, test ! "x$VALGRIND_PATH" = "xno")
|
AM_CONDITIONAL(HAVE_VALGRIND, test ! "x$VALGRIND_PATH" = "xno")
|
||||||
|
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <encoderparams.hh>
|
#include <encoderparams.hh>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#include "gstmpeg2enc.hh"
|
#include "gstmpeg2enc.hh"
|
||||||
#include "gstmpeg2encpicturereader.hh"
|
#include "gstmpeg2encpicturereader.hh"
|
||||||
|
|
|
@ -55,6 +55,8 @@
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#include "gstmplex.hh"
|
#include "gstmplex.hh"
|
||||||
#include "gstmplexoutputstream.hh"
|
#include "gstmplexoutputstream.hh"
|
||||||
#include "gstmplexibitstream.hh"
|
#include "gstmplexibitstream.hh"
|
||||||
|
|
Loading…
Reference in a new issue