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

Bug 51685

Summary: putty-20040313-r1 compile error - ssh.c
Product: Gentoo Linux Reporter: unl
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Filter -DNDEBUG flag in ebuild

Description unl 2004-05-21 11:54:02 UTC
cc    -O2 -march=athlon-xp -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -pipe -mmmx -msse -m3dnow -fforce-addr -s -DNDEBUG -DG_DISABLE_ASSERT -Wall -Werror -g -I. -I.. -I../charset `gtk-config --cflags` -c ../ssh.c
../ssh.c: In function `alloc_channel_id':
../ssh.c:765: warning: unused variable `i'
make: *** [ssh.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: net-misc/putty-20040313-r1 failed.
!!! Function src_compile, Line 44, Exitcode 2
!!! (no error message)


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Karol Wojtaszek (RETIRED) gentoo-dev 2004-05-21 12:17:43 UTC
You should remove -DNDEBUG from your CFLAGS and then compile putty again. I'm adding patch on ebuild to filter this flag.
Comment 2 Karol Wojtaszek (RETIRED) gentoo-dev 2004-05-21 12:22:14 UTC
Created attachment 31804 [details, diff]
Filter -DNDEBUG flag in ebuild
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2004-05-23 11:48:48 UTC
DNDEBUG simply isn't used commonly enough as a CFLAG in gentoo land for us to make a special case of filtering it.