Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51685 - putty-20040313-r1 compile error - ssh.c
Summary: putty-20040313-r1 compile error - ssh.c
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-21 11:54 UTC by unl
Modified: 2004-05-23 11:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Filter -DNDEBUG flag in ebuild (putty.patch,260 bytes, patch)
2004-05-21 12:22 UTC, Karol Wojtaszek (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.