Author Topic: duplicated #defines in wxscintilla.h  (Read 3410 times)

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5910
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
duplicated #defines in wxscintilla.h
« on: April 02, 2018, 05:21:33 pm »
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

Code
#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.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: duplicated #defines in wxscintilla.h
« Reply #1 on: April 02, 2018, 05:31:29 pm »
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!]