[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Problems compiling ksokoban/Array.C on IRIX C++
From: kde-devel () thewrittenword ! com
Date: 2001-04-13 6:54:31
[Download RAW message or body]
On Thu, Apr 12, 2001 at 08:56:25AM -0700, Waldo Bastian wrote:
> On Wednesday 11 April 2001 22:33, kde-devel@thewrittenword.com wrote:
> > kdegames-2.1.1/ksokoban/Array.C contains the following snippet:
> >
> > template Array<char>;
> > template Array<char *>;
> >
> > #include "LevelCollection.H"
> > template Array<LevelCollection *>;
> >
> > IRIX C++ complains about the:
> > template Array<char>;
> > template Array<char *>;
>
> does it help if you change it to "template class Array<char>;" ?
Perfect! Patch attached.
--
albert chin (china@thewrittenword.com)
-- snip snip
--- ksokoban/Array.C.orig Sat Mar 31 12:09:52 2001
+++ ksokoban/Array.C Thu Apr 12 18:11:07 2001
@@ -103,8 +103,8 @@
}
-template Array<char>;
-template Array<char *>;
+template class Array<char>;
+template class Array<char *>;
#include "LevelCollection.H"
-template Array<LevelCollection *>;
+template class Array<LevelCollection *>;
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic