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
>Release:        
>Organization:
University of Bielefeld
>Environment:
>Description:
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 
-I/pkgsrc/source/pkgsrc/converters/recode/work.pkgsrc-i86/.buildlink/include 
-I/pkgsrc/source/pkgsrc/converters/recode/work.pkgsrc-i86/.buildlink/gcc46/include
 
-I/pkgsrc/source/pkgsrc/converters/recode/work.pkgsrc-i86/.buildlink/gcc46/lib/gcc/i386-pc-solaris2.10/4.6.1/include
 -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

Stop.

>How-To-Repeat:

>Fix:
fixed in current version from GIT repository:

https://github.com/pinard/Recode/commit/a34dfd2257f412dff59f2ad7f714252fa200028e#src/recodext.h

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