Subject: pkg/36423: package net/latd fails to compile
To: None <,,>
From: None <>
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
	Iowa State University
System: NetBSD 4.0_BETA2 NetBSD 4.0_BETA2 (GENERIC) #2: Mon Apr 2 17:20:47 CDT 2007 i386
Architecture: i386
Machine: i386
	Package net/latd fails to compile
	giving an error 'Extra qualification on member'
	on line 74 of services.h
	cd /usr/pkgsrc/net/latd && make
   change line 74 of services.h
      void         serviceinfo::list_service(std::ostrstream &output);
      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,
/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 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.