Commit 5f1bb9fd authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

configure.ac: Check if the compiler supports do { } while (0) macros. This...

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.
parent 29d91835
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>
* gst/selector/gstinputselector.c:
......
common @ 9a358e5c
Subproject commit 170f8e91adc7157f6e708ffa58ca22d10e4e45da
Subproject commit 9a358e5cc3977fd6121f12dd25a358081fd77041
......@@ -107,6 +107,9 @@ AS_PROG_OBJC
dnl check if the compiler supports '-c' and '-o' options
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)
AM_CONDITIONAL(HAVE_VALGRIND, test ! "x$VALGRIND_PATH" = "xno")
......
......@@ -24,6 +24,7 @@
#endif
#include <encoderparams.hh>
#include <string.h>
#include "gstmpeg2enc.hh"
#include "gstmpeg2encpicturereader.hh"
......
......@@ -55,6 +55,8 @@
#include "config.h"
#endif
#include <string.h>
#include "gstmplex.hh"
#include "gstmplexoutputstream.hh"
#include "gstmplexibitstream.hh"
......
......@@ -71,7 +71,7 @@ VALGRIND_TESTS_DISABLE = \
check_PROGRAMS = \
generic/states \
$(check_mpeg2enc) \
$(check_mplex) \
$(check_mplex) \
$(check_neon) \
$(check_soup) \
$(check_timidity) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment