Package: astyle
Version: 1.18-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 astyle_1.18-1 on em64t by sbuild/amd64 0.53
...
> make[1]: Entering directory `/build/tbm/astyle-1.18/src'
> g++ -g -Wall -Wno-sign-compare -O2 -c astyle_main.cpp
> In file included from astyle_main.cpp:28:
> astyle.h: In member function 'bool astyle::ASEnhancer::isLegalNameCharX(char) 
> const':
> astyle.h:272: error: 'isalnum' was not declared in this scope
> make[1]: *** [astyle_main.o] Error 1
> make[1]: Leaving directory `/build/tbm/astyle-1.18/src'

--- ./src/astyle.h~     2007-03-05 11:38:24.000000000 +0000
+++ ./src/astyle.h      2007-03-05 11:41:36.000000000 +0000
@@ -30,6 +30,7 @@
 
 #include <string>
 #include <vector>
+#include <cctype>
 
 
 using namespace std;

-- 
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