"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.
Knows some wx things
Knows some wx things
Posts: 47
Joined: Mon Dec 08, 2008 10:10 pm

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

Postby 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

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

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

Postby 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!

Return to “Compiler / Linking / IDE Related”

Who is online

Users browsing this forum: No registered users and 3 guests