Bugs item #1649350, was opened at 2007-02-01 03:20
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=102439&aid=1649350&group_id=2439

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Scintilla
Group: Bug
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: heromyth (heromyth)
Assigned to: Nobody/Anonymous (nobody)
Summary: ExternalLexer.cxx can't be compiled if __WX__ defined

Initial Comment:
OS: WinXP SP2
Compiler: gcc version 3.4.5 (mingw special)
Others: wxScintilla wxWidgets 2.6.3

Command line:

mingw32-g++.exe -Wall -pipe -mthreads -fmessage-length=0 -fexceptions 
-Winvalid-pch -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DwxUSE_UNICODE -D__WX__ 
-DWINVER=0x0400 -DSCI_LEXER -DLINK_LEXERS -DWXMAKINGDLL_SCI -I ../include 
-I../src/scintilla/include -I../src/scintilla/src 
-IE:\wxWidgets-2.6.3\lib\gcc_dll\mswu -IE:\wxWidgets-2.6.3\include  -Os 
-fno-exceptions  -fno-rtti -mno-cygwin -o ExternalLexer.o -c 
../src/scintilla/src/ExternalLexer.cxx

Reasons:
  The definition of __WX__ macro causes the EXT_LEXER_DECL ,which is in 
ExternalLexer.h, is undefined.

Fixs:

  Change these:

#if PLAT_WIN
#define EXT_LEXER_DECL __stdcall
#elif PLAT_GTK
#define EXT_LEXER_DECL 
#endif

  into :

#if PLAT_WIN
#define EXT_LEXER_DECL __stdcall
#else
#define EXT_LEXER_DECL 
#endif



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=102439&aid=1649350&group_id=2439
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to