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

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
Post Reply
Rob'
Knows some wx things
Knows some wx things
Posts: 48
Joined: Mon Dec 08, 2008 10:10 pm

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

Post by Rob' » Fri Jan 11, 2019 10:20 am

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'

User avatar
doublemax
Moderator
Moderator
Posts: 13430
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

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

Post by doublemax » Fri Jan 11, 2019 10:36 am

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?
Use the source, Luke!

Post Reply