Subject: pkg/36423: package net/latd fails to compile
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <john@iastate.edu>
List: pkgsrc-bugs
Date: 06/01/2007 14:55:00
>Number: 36423
>Category: pkg
>Synopsis: package net/latd fails to compile
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jun 01 14:55:00 +0000 2007
>Originator: John Hascall
>Release: NetBSD 4.0_BETA2
>Organization:
Iowa State University
>Environment:
System: NetBSD delos.its.iastate.edu 4.0_BETA2 NetBSD 4.0_BETA2 (GENERIC) #2: Mon Apr 2 17:20:47 CDT 2007 root@draal.ait.iastate.edu:/usr/obj/4.0/kern/i386/GENERIC i386
Architecture: i386
Machine: i386
>Description:
Package net/latd fails to compile
giving an error 'Extra qualification on member'
on line 74 of services.h
>How-To-Repeat:
cd /usr/pkgsrc/net/latd && make
>Fix:
change line 74 of services.h
from:
void serviceinfo::list_service(std::ostrstream &output);
to:
void list_service(std::ostrstream &output);
You'll still get warnings like the following::
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
In file included from /usr/include/g++/backward/algo.h:59,
from latcp.cc:47:
/usr/include/g++/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
And about a zillion of this sort:
lat.h:32: warning: 'packed' attribute ignored for field of type 'unsigned char'
But at least it will compile.