Summary: | app-text/recode-3.6-r2: failed to compile with width of 'ignore' exceeds it's type using GCC-4.3.0 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Keith R. <EckosGentoo> |
Component: | [OLD] GCC Porting | Assignee: | Gentoo Shell Tools project <shell-tools> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | esqualante, mikko.cal |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 198121 | ||
Attachments: |
Patch to get recode-3.6 to compile with gcc-4.3
Another patch to compile with gcc 4.3 recode-3.6-gcc-4.3.patch |
Description
Keith R.
2008-02-05 21:17:42 UTC
until gcc-4.3 is portage (officially supported) we'd like bug reports to include patches please. ;) Created attachment 142772 [details, diff] Patch to get recode-3.6 to compile with gcc-4.3 I made my own patch from a suggestion on the fedora-devel-list. I haven't actually tested it to make sure it works, but it compiles. See: https://www.redhat.com/archives/fedora-devel-list/2008-January/msg01411.html this isn't fixed. *** Bug 215245 has been marked as a duplicate of this bug. *** Created attachment 148123 [details, diff]
Another patch to compile with gcc 4.3
It seems that 2 is just too much for a bool type. Replacing it with 1 compiles fine (and should presumably yield the same result).
Sadly, I have completely no experience with C programming and this is the first patch I have ever attempted.
Created attachment 148477 [details, diff] recode-3.6-gcc-4.3.patch Patch from: https://www.redhat.com/archives/fedora-devel-list/2008-January/msg01413.html I don't have gcc-4.3 at hand to check it ... |