pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/45286: converters/recode does not compile with GCC 4.6

>Number:         45286
>Category:       pkg
>Synopsis:       converters/recode does not compile with GCC 4.6
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 24 06:45:00 +0000 2011
>Originator:     Jörn Clausen
University of Bielefeld
Compiling converters/recode with GCC 4.6.1 fails with

libtool: compile:  gcc -DLIBDIR=\"/pkgsrc/gcc46-ld/lib\" -DHAVE_CONFIG_H -I.. 
-I. -I../lib -I../libiconv 
 -O -c charname.c  -fPIC -DPIC -o .libs/charname.o
In file included from common.h:140:0,
                 from charname.c:20:
recodext.h:221:5: error: width of 'ignore' exceeds its type
*** Error code 1



fixed in current version from GIT repository:

--- src/recodext.h.orig 2001-01-04 14:36:54.000000000 +0000
+++ src/recodext.h
@@ -218,7 +218,7 @@ struct recode_symbol
     enum recode_symbol_type type : 3;
     /* Non zero if this one should be ignored.  */
-    bool ignore : 2;
+    bool ignore : 1;
 struct recode_surface_list

Home | Main Index | Thread Index | Old Index