Package: enigma
Version: 1.00-1
Usertags: ftbfs-gcc-4.3
Tags: patch

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  A patch for this problem is
below.

> Automatic build of enigma_1.00-1 on coconut0 by sbuild/ia64 0.49
...
> SDL_rotozoom.c:617: warning: 'c00.b' may be used uninitialized in this 
> function
> SDL_rotozoom.c:617: warning: 'c00.a' may be used uninitialized in this 
> function
> g++ -DHAVE_CONFIG_H -I. -I. -I../../src    -I/usr/include/SDL -D_GNU_SOURCE=1 
> -D_REENTRANT -g -Wall -O2 -DENABLE_ASSERT -O2 -ffast-math 
> -fomit-frame-pointer -DCXXLUA -c -o ecl_argp.o ecl_argp.cc
> In file included from ecl_argp.hh:22,
>                  from ecl_argp.cc:19:
> ecl_util.hh: In function 'void ecl::split_copy(const std::basic_string<Ch, 
> std::char_traits<_CharT>, std::allocator<_CharT> >&, Ch, OutIt)':
> ecl_util.hh:173: error: 'find' is not a member of 'std'
> ecl_util.hh: In function 'size_t ecl::split_copy_n(const 
> std::basic_string<Ch, std::char_traits<_CharT>, std::allocator<_CharT> >&, 
> Ch, OutIt, size_t)':
> ecl_util.hh:189: error: 'find' is not a member of 'std'
> make[3]: *** [ecl_argp.o] Error 1
> make[3]: Leaving directory 
> `/build/tbm/enigma-1.00/build-tree/enigma-1.00/lib-src/enigma-core'

and later:

> gui/widgets.cc:231: error: 'INT_MAX' was not declared in this scope


--- src/gui/widgets.cc~ 2007-03-04 21:06:31.000000000 +0000
+++ src/gui/widgets.cc  2007-03-04 21:13:34.000000000 +0000
@@ -28,6 +28,7 @@
 #include <cassert>
 #include <algorithm>
 #include <iostream>
+#include <limits.h>
 
 using namespace enigma::gui;
 using namespace ecl;
--- lib-src/enigma-core/ecl_util.hh~    2007-03-04 20:38:24.000000000 +0000
+++ lib-src/enigma-core/ecl_util.hh     2007-03-04 20:55:44.000000000 +0000
@@ -20,6 +20,7 @@
 #define ECL_UTIL_HH_INCLUDED
 
 #include <string>
+#include <algorithm>
 
 /* hide GNU extensions for non-gnu compilers: */
 #ifndef __GNU__

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to