On 03/22/2012 01:12 PM, David C. Rankin wrote: > Darrell, All, > > I ran into a build error with tqscintilla that looks like I'm missing > something or I have stumbled onto a gcc issue. The build proceeds normally for a > good while, then: > > g++ -c -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector > --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/tqt > -I/opt/trinity/include -I/opt/tqt3/include -I/usr/include/tqt > -I/opt/trinity/include -I/opt/tqt3/include -I/usr/share/qt/mkspecs/linux-g++-64 > -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -I../include > -I../src -I/usr/include/tqt -I. -o ExternalLexer.o ../src/ExternalLexer.cpp > In file included from ../src/ExternalLexer.cpp:22:0: > ../src/ExternalLexer.h:25:30: error: expected ')' before '*' token > ../src/ExternalLexer.h:27:30: error: expected ')' before '*' token <snip> > scope > ../src/ExternalLexer.cpp:156:22: error: 'Lexer' was not declared in this scope > ../src/ExternalLexer.cpp:156:29: error: 'Folder' was not declared in this scope > > The code complained about in ExternalLexer.h begins with: > > // External Lexer function definitions... > typedef void (EXT_LEXER_DECL *ExtLexerFunction)(unsigned int lexer, unsigned int > startPos, int length, int initStyle, > char *words[], WindowID window, char *props); > typedef void (EXT_LEXER_DECL *ExtFoldFunction)(unsigned int lexer, unsigned int > startPos, int length, int initStyle, > char *words[], WindowID window, char *props); > typedef void* (EXT_LEXER_DECL *GetLexerFunction)(unsigned int Index); > typedef int (EXT_LEXER_DECL *GetLexerCountFn)(); > typedef void (EXT_LEXER_DECL *GetLexerNameFn)(unsigned int Index, char *name, > int buflength); > > Is there some new directive required to have it use the 'EXT_LEXER_DECL *' > typedef? > This is also posted on the debian user form 4 days ago w/o resolution yet: http://forums.debian.net/viewtopic.php?f=8&t=77331 I have also confirmed that it isn't the tde GIT code. Same build failure occurs in riverback tgz. Looks like we have a new bug. Any thoughts? -- David C. Rankin, J.D.,P.E.