Bug 52466 - app-accessibility/flite won't build with gcc 3.3.3-r5
Bug#: 52466 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: accessibility@gentoo.org Reported By: mgorse@alum.wpi.edu
Component: Applications
URL: 
Summary: app-accessibility/flite won't build with gcc 3.3.3-r5
Keywords:  
Status Whiteboard: 
Opened: 2004-05-30 08:04 0000
Description:   Opened: 2004-05-30 08:04 0000
One of flite's tools sets values in normally read-only items of
structures that the header declares as const.  I wrote Alan Black,
and he suggested defining const as nothing before including the flite
headers in the offending file (tools/find_sts_main.c).  It builds for
me after making that change.  (It only gave a warning with older gcc
ebuilds, but it is now an error.)

Reproducible: Always
Steps to Reproduce:
emerge sys-devel/gcc/gcc-3.3.3-r5.ebuild
2.emerge flite
3.
Actual Results:  
gcc gives errors on lines 100, 103, and 107 of
tools/find_sts_main.c.

------- Comment #1 From Michael Gorse 2004-05-31 04:52:54 0000 -------
Created an attachment (id=32375) [details]
This patch contains the author's suggested patch.

------- Comment #2 From Jon Hood (RETIRED) 2004-05-31 09:46:17 0000 -------
fix works and is now in portage; thank you :)