Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 21813

Summary: gcc-3.3: aspell fails in prog/checker_string.cpp
Product: Gentoo Linux Reporter: Jim Bray <jb>
Component: [OLD] GCC PortingAssignee: Martin Schlemmer (RETIRED) <azarah>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 1.4_rc2   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jim Bray 2003-05-28 01:26:15 UTC
compile fails due to 'assert' being undefined. Patch below fixes.
Built fine with 3.2 series. Problem with inclusion?

prog/1#diff -b -c checker_string.cpp~ checker_string.cpp
*** checker_string.cpp~ Wed Sep 25 22:42:42 2002
--- checker_string.cpp  Wed May 28 01:12:42 2003
***************
*** 9,14 ****
--- 9,15 ----
  #include "document_checker.hpp"
  #include "copy_ptr-t.hpp"
  #include "asc_ctype.hpp"
+ #include <assert.h>
  
  static int get_line(FILE * in, CharVector & d)
  {
prog/1#


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




prog/1#emerge info
Portage 2.0.48 (default-x86-1.4, gcc-3.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-gentoo-r5 i586 AMD-K6(tm) 3D processor
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://csoc
                                   
iety-ftp.ecn.purdue.edu/pub/gentoo/ http://cs.ubishops.ca/pub/gentoo ftp://ftp.u
                                   
ssg.iu.edu/pub/linux/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/confi
                                   
g /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/
                                   
share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss crypt encode gif jpeg libg++ mikmod mpeg ncurses pdflib png quickti
                                   
me spell truetype xml2 xv zlib gtkhtml gdbm berkdb slang readline tetex tcltk ja
                                   
va guile X gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk motif moz
                                   
illa scanner acpi acpi4linux xfs gtk2 gnome mbox alsa xmms mmx 3dnow opengl matr
                                   
ox dga cdr bonobo pic leim -avi -kde -qt -arts -svga -sdl -cups -apm -postgres -
                                   
dvd -nls"
COMPILER="gcc3"
CHOST="i586-pc-linux-gnu"
CFLAGS="-march=k6-2 -O3 -Os -freorder-blocks -pipe"
CXXFLAGS="-march=k6-2 -O3 -Os -freorder-blocks -pipe"
ACCEPT_KEYWORDS="~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Travis Tilley (RETIRED) gentoo-dev 2003-06-25 19:02:07 UTC
this bug should be closed, or marked a duplicate of 22384. In either case, this has been fixed since june 11th.
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2003-06-30 15:00:41 UTC

*** This bug has been marked as a duplicate of 22384 ***