[CLN-list] patch for cln with gcc-4

Ralf Wildenhues Ralf.Wildenhues at gmx.de
Fri Apr 15 18:16:31 CEST 2005


This trivial patch is necessary for cln to compile with gcc-4
prerelease.  Without it, the friend declarations below are marked as
erroneous.

Regards,
Ralf

        * include/cln/string.h: Declare cl_string.

Index: include/cln/string.h
===================================================================
RCS file: /home/cvs/cln/include/cln/string.h,v
retrieving revision 1.4
diff -u -r1.4 string.h
--- include/cln/string.h	23 Jun 2004 21:11:21 -0000	1.4
+++ include/cln/string.h	15 Apr 2005 16:05:04 -0000
@@ -10,6 +10,8 @@
 
 namespace cln {
 
+struct cl_string;
+
 // General, reference counted and garbage collected strings.
 struct cl_heap_string : public cl_heap {
 private:




More information about the CLN-list mailing list