From d6cec72c36b9bd5f2b711b083e20689e66a4a62b Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 30 Jul 2005 16:39:08 +0000 Subject: Fix compilation with g++ 4.0. --- ChangeLog | 5 +++++ src/positions.h | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e2d2298..32ece48 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-07-30 Bruno Haible + + * src/positions.h: Add forward declarations of friend classes. + Needed for compilation with g++ 4.0. + 2004-08-22 Bruno Haible * tests/Makefile.in (check-lang-syntax): Add test for the diff --git a/src/positions.h b/src/positions.h index a1a2058..596844f 100644 --- a/src/positions.h +++ b/src/positions.h @@ -2,7 +2,7 @@ /* A set of byte positions. - Copyright (C) 1989-1998, 2000, 2002 Free Software Foundation, Inc. + Copyright (C) 1989-1998, 2000, 2002, 2005 Free Software Foundation, Inc. Written by Douglas C. Schmidt and Bruno Haible . @@ -26,6 +26,10 @@ #ifndef positions_h #define positions_h 1 +/* Classes defined below. */ +class PositionIterator; +class PositionReverseIterator; + /* This class denotes a set of byte positions, used to access a keyword. */ class Positions -- cgit v1.2.1