Re: recode and gcc-4.3 (Was: Re: Mass rebuild status with gcc-4.3.0-0.4 of rawhide-20071220)

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

 



Zoltan Kota wrote:
> Hi,
> 
> Can you help me to find out what the problem is with recode compiled 
> with gcc-4.3.0?
> The log is here:
> http://sunsite.mff.cuni.cz/rawhide20071220-gcc43/unsorted/recode-3.6-24.fc8.log

Looks like gcc is giving an error now for bitfields
that are larger than their types.
In this particular case it gives an error for:

struct {
 bool ignore:2;
};

Does the attached patch help?

cheers,
Pádraig.
--- recode-3.6/src/recodext.h.orig	2001-01-04 14:36:54.000000000 +0000
+++ recode-3.6/src/recodext.h	2008-01-15 15:23:56.000000000 +0000
@@ -215,10 +215,10 @@
     struct recode_single *unsurfacer;
 
     /* Non zero if this is an acceptable charset (not only a surface).  */
-    enum recode_symbol_type type : 3;
+    enum recode_symbol_type type : 2;
 
     /* Non zero if this one should be ignored.  */
-    bool ignore : 2;
+    bool ignore : 1;
   };
 
 struct recode_surface_list
-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux