Package: tripwire
Version: 2.3.1.2.0-4
Severity: serious
Tags: patch

tripwire fails to build because it is missing some forward class
declarations:

> g++ -DHAVE_CONFIG_H            -I. -I. -I../.. -I../../src    -g -Wall -O2 -c 
> -o fcodatasourceiter.o `test -f 'fcodatasourceiter.cpp' || echo 
> './'`fcodatasourceiter.cpp
> ../../src/core/typed.h:57: warning: 'class iTyped' has virtual functions but 
> non-virtual destructor
> ../../src/core/serializable.h:79: warning: 'class iSerializable' has virtual 
> functions but non-virtual destructor
> ../../src/core/serializable.h:91: warning: 'class iTypedSerializable' has 
> virtual functions but non-virtual destructor
> fconameinfo.h:46: warning: 'class iFCONameInfo' has virtual functions but 
> non-virtual destructor
> fconame.h:147: error: ISO C++ forbids declaration of 'cFCOName_i' with no type
> fconame.h:147: error: expected ';' before '*' token

-- 
Matt
only in patch2:
unchanged:
--- tripwire-2.3.1.2.0.orig/src/fco/fconame.h
+++ tripwire-2.3.1.2.0/src/fco/fconame.h
@@ -49,6 +49,7 @@
 ///////////////////////////////////////////////////////////////////////////////
 class cFCONameTblNode;
 class cFCONameIter;
+class cFCOName_i;
 
 class cFCOName : public iTypedSerializable
 {
only in patch2:
unchanged:
--- tripwire-2.3.1.2.0.orig/src/fco/fcosetimpl.h
+++ tripwire-2.3.1.2.0/src/fco/fcosetimpl.h
@@ -46,6 +46,8 @@
 #include "fconame.h"
 #endif
 
+class cFCOIterImpl;
+
 class cFCOSetImpl : public iFCOSet
 {
        friend class cFCOIterImpl;
only in patch2:
unchanged:
--- tripwire-2.3.1.2.0.orig/src/tw/fcoreport.h
+++ tripwire-2.3.1.2.0/src/tw/fcoreport.h
@@ -85,6 +85,7 @@
 class cFileHeaderID;
 class cErrorQueue;
 class cFCOReportGenreHeader;
+class cFCOReportSpecIter;
 
 class cFCOReport : public iTypedSerializable
 {

Attachment: signature.asc
Description: Digital signature

Reply via email to