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]

 



> 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

Error is:

gcc -DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H -I.. -I. -I../lib
-I../libiconv -g -O2 -c combine.c  -fPIC -DPIC -o .libs/combine.lo
argmatch.c: In function '__argmatch_die': argmatch.c:69: warning:
incompatible implicit declaration of built-in function 'exit' In file
included from common.h:140, from charname.c:20:
recodext.h:221: error: width of 'ignore' exceeds its type

So, you'll need to look at recodext.h, line 221:

    /* Non zero if this one should be ignored.  */
    bool ignore : 2;

Changing this to

    /* Non zero if this one should be ignored.  */
    bool ignore;

Will fix it.

Patch attached.

-benjamin
*** src/recodext.h.orig	2008-01-15 09:28:50.000000000 -0600
--- src/recodext.h	2008-01-15 09:29:33.000000000 -0600
*************** struct recode_symbol
*** 218,224 ****
      enum recode_symbol_type type : 3;
  
      /* Non zero if this one should be ignored.  */
!     bool ignore;
    };
  
  struct recode_surface_list
--- 218,224 ----
      enum recode_symbol_type type : 3;
  
      /* Non zero if this one should be ignored.  */
!     bool ignore : 2;
    };
  
  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