Re-enable debugging option, fix chars back to unsigned.

This commit is contained in:
Thulinma 2012-05-11 18:08:17 +02:00
parent bf75cc278c
commit cf5dc1ff93
3 changed files with 6 additions and 2 deletions

View file

@ -33,6 +33,12 @@ AC_FUNC_MALLOC
AC_FUNC_REALLOC
AC_CHECK_FUNCS([dup2 gettimeofday memset mkdir socket strerror])
# Fix chars to unsigned
CXXFLAGS="$CXXFLAGS -funsigned-char"
#allow verbose mode compiles
AC_ARG_ENABLE([verbose], AC_HELP_STRING([--enable-verbose], [Compile with verbose messages]), CXXFLAGS="-DDEBUG=4 $CXXFLAGS")
AC_CONFIG_FILES([Makefile
lib/Makefile
src/converters/Makefile

View file

@ -2,7 +2,6 @@
/// Debugging tool for AMF data.
/// Expects AMF data through stdin, outputs human-readable information to stderr.
#define DEBUG 10 //maximum debugging level
#include <cstdlib>
#include <iostream>
#include <fstream>

View file

@ -9,7 +9,6 @@
/// - 2 = Explicit: Audio/video data details.
/// - 4 = Verbose: details about every whole chunk.
#define DEBUG 10 //maximum debugging level
#include <cstdlib>
#include <iostream>
#include <fstream>