News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

duplicated #defines in wxscintilla.h

Started by ollydbg, April 02, 2018, 05:21:33 PM

Previous topic - Next topic

ollydbg

Hi, I just see in the master(svn head) the file \src\sdk\wxscintilla\include\wx\wxscintilla.h

There are code snippet around line 227


#define wxSCI_INDIC_POINTCHARACTER 19
/* C::B begin */
#define wxSCI_INDIC_HIGHLIGHT 31 // please change also in Scintilla.h !!
/* C::B end */
#define wxSCI_INDIC_IME 32
#define wxSCI_INDIC_IME_MAX 35
#define wxSCI_INDIC_MAX 35
/* C::B begin INDIC_HIGHLIGHT */
#define wxSCI_INDIC_HIGHLIGHT 31 // please change also in wxscintilla.h !!
/* C::B end */

So, you see there are two "#define wxSCI_INDIC_HIGHLIGHT 31", any ideas? It looks like when I build C::B, I can't see the build errors.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

oBFusCATed

These are only warnings... Wrong merge will fix...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]