On Wed, 2008-10-08 at 02:26 +1300, Amos Jeffries wrote:
> Alex Rousskov wrote:
> > On Tue, 2008-10-07 at 03:36 +1300, Amos Jeffries wrote:
> >
> >> (3) a syntax error to do with "class std::exception" when past the
> >> configure
> >> breakage.
> >
> > I can look at this one. Please post or point me to specifics.
> >
>
> Seems to occur on Debian unstable and Lenny (testing). But not on Ubuntu
> which threw me most of this evening.
Explains why I am not seeing it.
I made a bad forward declaration in AsyncJob.h. Please try the attached
patch.
HTH,
Alex.
=== modified file 'src/ICAP/AsyncJob.h'
--- src/ICAP/AsyncJob.h 2008-09-30 17:19:29 +0000
+++ src/ICAP/AsyncJob.h 2008-10-07 14:16:35 +0000
@@ -9,6 +9,7 @@
#include "AsyncCall.h"
+#include "TextException.h"
/**
\defgroup AsyncJobAPI Async-Jobs API
@@ -30,8 +31,6 @@
* asynchronous calls.
*/
-class std::exception;
-
/// \ingroup AsyncJobAPI
class AsyncJob
{
=== modified file 'src/TextException.h'
--- src/TextException.h 2008-09-30 17:19:29 +0000
+++ src/TextException.h 2008-10-07 14:12:23 +0000
@@ -1,6 +1,9 @@
#ifndef SQUID__TEXTEXCEPTION_H
#define SQUID__TEXTEXCEPTION_H
+#include "squid.h"
+#include <exception>
+
// Origin: xstd/TextException