diff options
author | Bruno Haible <bruno@clisp.org> | 2005-07-30 16:39:08 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2005-07-30 16:39:08 +0000 |
commit | d6cec72c36b9bd5f2b711b083e20689e66a4a62b (patch) | |
tree | 9f02ed33fca9c5b9156317c96a415adb529d2dae | |
parent | dbe7691075d28ee369ae2ab315b08f253e6dbf3c (diff) | |
download | gperf-d6cec72c36b9bd5f2b711b083e20689e66a4a62b.tar.gz |
Fix compilation with g++ 4.0.
-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 |