Subject: pkg/26238: news/newscache doesn't compile: deprecated header
To: None <>
From: None <>
List: pkgsrc-bugs
Date: 07/11/2004 04:12:21
>Number:         26238
>Category:       pkg
>Synopsis:       news/newscache doesn't compile: deprecated header
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 11 03:13:00 UTC 2004
>Originator:     Bob Kemp
>Release:        NetBSD 2.0F
System: NetBSD tenebres.loc 2.0F NetBSD 2.0F (TENEBRES) #0: Tue Jun 29 15:24:47 BST 2004 rob@tenebres.loc:/usr/src/sys/arch/i386/compile/TENEBRES i386
Architecture: i386
Machine: i386

    There is one warning due to a "bad" include and several (apparently unrelated) syntax errors.
    The pkgsrc is just a few days old, I think.


    cd /usr/pkgsrc/news/newscache


    You can get rid of the warning by changing
	#include <fstream.h>
	#include <fstream>
    in Logger.h
    but I don't know enough C++ to fix the syntax errors.