Subject: pkg/34378: graphics/grap won't build with gcc4
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 08/29/2006 18:50:00
>Number:         34378
>Category:       pkg
>Synopsis:       graphics/grap won't build with gcc4
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 29 18:50:00 +0000 2006
>Originator:     Steven M. Bellovin
>Release:        NetBSD 4.99.1
System: NetBSD 4.99.1 NetBSD 4.99.1 (GG1) #0: Sun Aug 27 12:42:38 EDT 2006 i386
Architecture: i386
Machine: i386
	When trying to build grap on -current (pkgsrc HEAD), I get

	c++ -O2  -DHAVE_CONFIG_H -c
	grap_draw.h:242: error: extra qualification 'coord::' on member 'newpt'

	See above
	Change line 242 of grap_draw.h to delete the extra qualifier --
	it's redundant (as well as incorrect), as best I can tell