[QScintilla] QScintilla v2.9 Release Candidate

Matic Kukovec matic.kukovec at pametnidom.si
Sat Apr 4 16:46:15 BST 2015


On 4.4.2015 17:21, Phil Thompson wrote:
> On 04/04/2015 2:52 pm, Matic Kukovec wrote:
>> On 4.4.2015 10:23, Phil Thompson wrote:
>>> The current QScintilla snapshot is a release candidate for v2.9. 
>>> Please test.
>>>
>>> Updated translations would be welcome.
>>>
>>> Thanks,
>>> Phil
>>> _______________________________________________
>>> QScintilla mailing list
>>> QScintilla at riverbankcomputing.com
>>> http://www.riverbankcomputing.com/mailman/listinfo/qscintilla
>>
>> Hi Phil.
>> Tried compiling on Windows 64-bit with MSVC2010:
>>
>> Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
>> Copyright (C) Microsoft Corporation.  All rights reserved.
>>
>>         cl -c -nologo -Zm200 -Zc:wchar_t- -O2 -MD -EHsc -W0 -GR
>> -DUNICODE -DWIN32 -DQSCINTILLA_MAKE_DLL -DSCINTILLA_QT -
>> DSCI_LEXER -DQT_THREAD_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_GUI_LIB
>> -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE
>> _SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DNDEBUG
>> -I"..\..\qt\include\QtCore" -I"..\..\qt\include\QtGui"
>> -I"..\..\qt\include
>> " -I"." -I"..\include" -I"..\lexlib" -I"..\src"
>> -I"..\..\qt\include\ActiveQt" -I"release"
>> -I"..\..\qt\mkspecs\win32-msvc
>> 2010" -Forelease\ @C:\...\Temp\nm2FBC.tmp
>> moc_ScintillaQt.cpp
>> ..\src\Document.h(226) : error C2039: 'vector' : is not a member of 
>> 'std'
>> ..\src\Document.h(226) : error C2143: syntax error : missing ';' 
>> before '<'
>> ..\src\Document.h(226) : error C4430: missing type specifier - int
>> assumed. Note: C++ does not support default-int
>> ..\src\Document.h(226) : error C2238: unexpected token(s) preceding ';'
>> ..\src\ViewStyle.h(57) : error C2039: 'map' : is not a member of 'std'
>> ..\src\ViewStyle.h(57) : error C2143: syntax error : missing ';' 
>> before '<'
>> ..\src\ViewStyle.h(57) : error C4430: missing type specifier - int
>> assumed. Note: C++ does not support default-int
>> ..\src\ViewStyle.h(79) : error C2146: syntax error : missing ';'
>> before identifier 'fonts'
>> ..\src\ViewStyle.h(79) : error C4430: missing type specifier - int
>> assumed. Note: C++ does not support default-int
>> ..\src\ViewStyle.h(79) : error C4430: missing type specifier - int
>> assumed. Note: C++ does not support default-int
>> ..\src\KeyMap.h(51) : error C2039: 'map' : is not a member of 'std'
>> ..\src\KeyMap.h(51) : error C2059: syntax error : '<'
>> ..\src\KeyMap.h(51) : error C2238: unexpected token(s) preceding ';'
>> ..\src\PositionCache.h(122) : error C2039: 'map' : is not a member of 
>> 'std'
>> ..\src\PositionCache.h(122) : error C2143: syntax error : missing ';' 
>> before '<'
>> ..\src\PositionCache.h(122) : error C2059: syntax error : '<'
>> ..\src\PositionCache.h(125) : error C2146: syntax error : missing ';'
>> before identifier 'mapReprs'
>> ..\src\PositionCache.h(125) : error C4430: missing type specifier -
>> int assumed. Note: C++ does not support default-int
>> ..\src\PositionCache.h(125) : error C4430: missing type specifier -
>> int assumed. Note: C++ does not support default-int
>> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
>> Studio 10.0\VC\BIN\amd64\cl.EXE"' : return code '0x2'
>> Stop.
>> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
>> Studio 10.0\VC\BIN\amd64\nmake.exe"' : return code'0x2'
>> Stop.
>>
>> Any ideas?
>
> Works fine for me, however try adding...
>
> #include <vector>
> #include <map>
>
> ...to the #includes in ScintillaQt.h (after the #include <string>).
>
> Phil

That worked! Thanks Phil.

Tried the long line scrolling and it now scrolls to the end correctly on 
my Windows 64-bit machine.
Brilliant.

Cheers,
Matic



More information about the QScintilla mailing list