Could not compile current source on linux

78 views
Skip to first unread message

Holger Kohnen

unread,
Feb 12, 2010, 6:10:03 AM2/12/10
to scite-i...@googlegroups.com
Hello,

i have got the error:

../src/LuaExtension.cxx:1724: error: ‘CP_UTF8’ was not declared in this
scope


if i add:

---------------------------------
#ifndef CP_UTF8
#define CP_UTF8 65001
#endif
---------------------------------

to LuaExtension.cxx everything works fine.


with kind regards, Holger

Neil Hodgson

unread,
Feb 12, 2010, 6:50:15 AM2/12/10
to scite-i...@googlegroups.com
Holger Kohnen:

> i have got the error:
>
> ../src/LuaExtension.cxx:1724: error: ‘CP_UTF8’ was not declared in this
> scope

CP_UTF8 is a Windows symbol. Just need to replace that with
Scintilla's SC_CP_UTF8.

Committed to CVS and available from
http://www.scintilla.org/scite.zip Source
http://www.scintilla.org/wscite.zip Windows executable

Neil

Reply all
Reply to author
Forward
0 new messages