I have found the root of this error caused.
Thanks.

From: Han Lun Tan
Sent: Thursday, April 14, 2011 1:31 PM
To: '[email protected]'
Subject: Build QScintilla 2.5 error in Linux

Hi I am having error in building the latest 2.5 QScintilla in linux

The error as below:
n file included from ../src/ExternalLexer.cpp:24:
../src/ExternalLexer.h:28: error: expected `)' before '*' token
../src/ExternalLexer.h:28: error: expected initializer before '*' token
../src/ExternalLexer.h:29: error: expected `)' before '*' token
../src/ExternalLexer.h:30: error: expected `)' before '*' token
../src/ExternalLexer.h:31: error: expected `)' before '*' token
../src/ExternalLexer.h:36: error: 'GetLexerFactoryFunction' does not name a type
../src/ExternalLexer.h:47: error: 'GetLexerFactoryFunction' has not been 
declared
../src/ExternalLexer.h: In constructor 
'ExternalLexerModule::ExternalLexerModule(int, void (*)(unsigned int, int, int, 
WordList**, Accessor&), const char*, void (*)(unsigned int, int, int, 
WordList**, Accessor&))':
../src/ExternalLexer.h:42: error: class 'ExternalLexerModule' does not have any 
field named 'fneFactory'
../src/ExternalLexer.cpp: At global scope:
../src/ExternalLexer.cpp:38: error: variable or field 'SetExternal' declared 
void
../src/ExternalLexer.cpp:38: error: 'GetLexerFactoryFunction' was not declared 
in this scope
../src/ExternalLexer.cpp:38: error: expected primary-expression before 'int'
../src/ExternalLexer.cpp: In constructor 'LexerLibrary::LexerLibrary(const 
char*)':
../src/ExternalLexer.cpp:59: error: 'GetLexerCountFn' was not declared in this 
scope
../src/ExternalLexer.cpp:59: error: expected `;' before 'GetLexerCount'
../src/ExternalLexer.cpp:61: error: 'GetLexerCount' was not declared in this 
scope
../src/ExternalLexer.cpp:66: error: 'GetLexerNameFn' was not declared in this 
scope
../src/ExternalLexer.cpp:66: error: expected `;' before 'GetLexerName'
../src/ExternalLexer.cpp:67: error: 'GetLexerFactoryFunction' was not declared 
in this scope
../src/ExternalLexer.cpp:67: error: expected `;' before 'fnFactory'
../src/ExternalLexer.cpp:76: error: 'GetLexerName' was not declared in this 
scope
../src/ExternalLexer.cpp:94: error: 'fnFactory' was not declared in this scope
gmake[1]: *** [ExternalLexer.o] Error 1


Wonder what is the problem?
Thanks



Best Regards,
Han Lun, Tan


________________________________
Confidentiality Notice.
This message may contain information that is confidential or otherwise 
protected from disclosure. If you are not the intended recipient, you are 
hereby notified that any use, disclosure, dissemination, distribution, or 
copying of this message, or any attachments, is strictly prohibited. If you 
have received this message in error, please advise the sender by reply e-mail, 
and delete the message and any attachments. Thank you.
_______________________________________________
QScintilla mailing list
[email protected]
http://www.riverbankcomputing.com/mailman/listinfo/qscintilla

Reply via email to