Problem compiling Doxygen on Linux

Albert <[email protected]>
Newsgroups gmane.text.doxygen.devel
Message-ID <CABOOx7Z0nqRd2zEiLF1nhgdR85YGTefUitAE=P2rRD6C9mqFcg@mail.gmail.com>
Dear all,

I have some problems compiling the newest doxygen code (version 775 from svn)
on a redhat 5 system.

I get the following error message:
g++ -c -pipe -fno-exceptions -fno-rtti -DYY_TYPEDEF_YY_SIZE_T
-Dyy_size_t=int -D_LARGEFILE_SOURCE -Wall -W -fno-exceptions -O2
-I../qtools -I../libmd5 -o ../objects/ce_lex.o ce_lex.cpp
ce_lex.cpp:168: error: multiple types in one declaration
ce_lex.cpp:168: error: declaration does not declare anything

When I look in the the ce_lex.cpp file I see:
typedef unsigned int yy_size_t;

I think thgere is a problem with the -D flag as set in the compile line.
The compiule line is generated from:
./src/libdoxygen.pro.in:TMAKE_CXXFLAGS += -DYY_TYPEDEF_YY_SIZE_T -Dyy_size_t=int

I have removed in my version the  -Dyy_size_t=int and than everything compiles.

Best Regards,


Albert

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.