Perfect! Appending <T> to ValStack did the trick!
FYI - attached below is a diff on xmlgen.cpp.... I just want to take this
opportunity to say that you and all other Doxygen developers have done a
fantastic job!
*** xmlgen.cpp.orig Thu Nov 1 13:24:52 2001
--- xmlgen.cpp Thu Nov 1 13:25:14 2001
***************
*** 109,123 ****
{
public:
ValStack() : m_values(10), m_sp(0), m_size(10) {}
virtual ~ValStack() {}
! ValStack(const ValStack &s)
{
m_values=s.m_values.copy();
m_sp=s.m_sp;
m_size=s.m_size;
}
! ValStack &operator=(const ValStack &s)
{
m_values=s.m_values.copy();
m_sp=s.m_sp;
m_size=s.m_size;
--- 109,123 ----
{
public:
ValStack() : m_values(10), m_sp(0), m_size(10) {}
virtual ~ValStack() {}
! ValStack(const ValStack<T> &s)
{
m_values=s.m_values.copy();
m_sp=s.m_sp;
m_size=s.m_size;
}
! ValStack<T> &operator=(const ValStack<T> &s)
{
m_values=s.m_values.copy();
m_sp=s.m_sp;
m_size=s.m_size;
-
Dimitri van Heesch <di...@st...> on 11/01/2001 01:13:15 PM
Please respond to Dimitri van Heesch <di...@st...>
To: Dan Behman/Toronto/IBM@IBMCA
cc:
Subject: Re: [Doxygen-users] 1.2.11.1 Compile Error on AIX 4.3.3
On Thu, Nov 01, 2001 at 10:04:53AM -0500, db...@ca... wrote:
> Hello,
>
> I'm seeing this compile error on AIX 4.3.3 with xlc 3.6.6:
>
> "xmlgen.cpp", line 113.29: 1540-090: (S) Syntax error - expected "<" and
> found "&".
> "xmlgen.cpp", line 119.14: 1540-090: (S) Syntax error - expected "<" and
> found "&".
> "xmlgen.cpp", line 734.5: 1540-206: (I) The previous 2 messages apply to
> the definition of template
> "ValStack<int>".
> gmake[1]: *** [../objects/xmlgen.o] Error 1
>
> Can anybody help me out?
Hmm, it seems your compiler has problems with templates.
You can try to replace ValStack with ValStack<T> at the points you
get an error. Please let me know if this works for you.
Regards,
Dimitri
|