[QScintilla] Problems compiling QScintilla2 on win32 with mingw
Detlev Offenbach
detlev at die-offenbachs.de
Sat May 12 17:26:33 BST 2007
Hi,
trying to compile latest QScintilla2 snapshot on win32 using the mingw
compiler stops with a bunch of error messages like:
g++ -c -O2 -O2 -w -frtti -fexceptions -DQSCINTILLA_MAKE_DLL -DQT -DSCI_LEXER -DQT_THREAD_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I"C:/Qt/4.2.3/include/QtCore" -I"C:/Qt/4.2.3/include/QtCore" -I"C:/Qt/4.2.3/include/QtGui" -I"C:/Qt/4.2.3/include/QtGui" -I"C:/Qt/4.2.3/include" -I"." -I"Qsci" -I"..
\include" -I"..\src" -I"C:/Qt/4.2.3/include/ActiveQt" -I"release" -I"." -I"c:
\Qt\4.2.3\mkspecs\win32-g++" -o release\qsciscintilla.o qsciscintilla.cpp
qsciscintilla.cpp: In member function 'bool QsciScintilla::isCallTipActive()
const':
qsciscintilla.cpp:245: error: passing 'const QsciScintilla' as 'this' argument
of 'long int QsciScintillaBase::SendScintilla(unsigned int, long unsigned
int, long int)' discards qualifiers
qsciscintilla.cpp: In member function 'int
QsciScintilla::adjustedCallTipPosition(int) const':
qsciscintilla.cpp:380: error: passing 'const QsciScintilla' as 'this' argument
of 'long int QsciScintillaBase::SendScintilla(unsigned int, int)' discards
qualifiers
qsciscintilla.cpp:380: error: passing 'const QsciScintilla' as 'this' argument
of 'long int QsciScintillaBase::SendScintilla(unsigned int, long int)'
discards qualifiers
The compiler info is:
g++ (GCC) 3.4.2 (mingw-special)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
What am I doing wrong?
Detlev
--
Detlev Offenbach
detlev at die-offenbachs.de
More information about the QScintilla
mailing list