Re: [Doxygen-develop] 1.3.1 bug with alphabetical index
Brought to you by:
dimitri
From: Dimitri v. H. <di...@st...> - 2003-05-29 09:32:10
|
On Wed, May 28, 2003 at 04:40:16PM -0700, Mark Tigges wrote: > > I've tried the new 1.3.1 that seems to have come out earlier in the > day. Both the source and the binary die with a seg fault: > > Generating alphabetical compound index... > QGArray::at: Absolute index 0 out of range > > Both 1.3 and 1.2.13.1 that I have tried operated fine. The > alphabetical index for the compounds has about 200 identifiers in it > so it should definitely be larger than 0. I have had another report about this. It appears this happens if a class and a namespace at the global scope have the same name. As a quick workaround you could try the add the following in the contructor of ClassDef (in classdef.cpp around line 95) m_isAbstract = FALSE; m_isStatic = FALSE; m_membersMerged = FALSE; QCString ns; extractNamespaceName(m_name,m_className,ns); + if (m_className.isEmpty()) // correct for case where there is a namespace and + // class with the same name + { + m_className = m_name.copy(); + ns.resize(0); + + } Let me know if this helps in your case. Regards, Dimitri |