I have just found that the attached source file will cause Doxygen
1.8.4 to enter a dead loop. It looks like a bug for me. Earlier
versions (1.8.3.1 and many others) do not exhibit this issue. I tested
on Windows and Cygwin. In a directory with only this test file, I
typed the following commands:

C:\Temp\test>doxygen-1.8.4 -g -s


Configuration file `Doxyfile' created.
...

C:\Temp\test>doxygen-1.8.4
...
Generating style sheet...
Generating search indices...
Generating example documentation...
Generating file sources...
Generating file documentation...
Generating page documentation...
Generating group documentation...
Generating class documentation...
Generating docs for compound debug_new_recorder...

Doxygen entered a dead loop at this point.

Removing the first doc comment in the file eliminates the issue. It
seems the cross-reference to debug_new_recorder::operator->* caused
the problem.

Should I file a report at BugZilla?

Best regards,

Yongwei

--
Wu Yongwei
URL: http://wyw.dcweb.cn/
class debug_new_recorder
{
    const char* _M_file;
    const int   _M_line;
    void _M_process(void* pointer);
public:
    /**
     * Constructor to remember the call context.  The information will
     * be used in debug_new_recorder::operator->*.
     */
    debug_new_recorder(const char* file, int line)
        : _M_file(file), _M_line(line) {}
    /**
     * Operator to write the context information to memory.
     * <code>operator->*</code> is chosen because it has the right
     * precedence, it is rarely used, and it looks good: so people can
     * tell the special usage more quickly.
     */
    template <class _Tp> _Tp* operator->*(_Tp* pointer)
    { _M_process(pointer); return pointer; }
private:
    debug_new_recorder(const debug_new_recorder&);
    debug_new_recorder& operator=(const debug_new_recorder&);
};
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to