Page 1 of 1

"Missing binary operator..." in winundef.h

Posted: Fri Jan 11, 2019 10:20 am
by Rob'
I get a preprocessor error in winundef.h:

Code: Select all

winundef.h   258   error: missing binary operator before token "("

Line 258:

Code: Select all

 #if !wxCHECK_W32API_VERSION( 0, 5 )

I'm using wx 3.0.

What can be the reason?

Thanks in advance
Rob'

Re: "Missing binary operator..." in winundef.h

Posted: Fri Jan 11, 2019 10:36 am
by doublemax
When does this happen, i.e. what are you building?
If it's not wxWidgets itself or one of the samples, show the list of #includes that lead to the error.

Which compiler?