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

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



> 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

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