diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/positions.h | 6 |
2 files changed, 10 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2005-07-30 Bruno Haible <bruno@clisp.org> + + * src/positions.h: Add forward declarations of friend classes. + Needed for compilation with g++ 4.0. + 2004-08-22 Bruno Haible <bruno@clisp.org> * 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 <schmidt@ics.uci.edu> and Bruno Haible <bruno@clisp.org>. @@ -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 |