Discussion:
[Wxart2d-users_dev] wxArt2D and latest wxWidgets (3.1.0) GTK issues
Süleyman Demir
2015-06-24 08:51:02 UTC
Permalink
Hello,

i get some gdk/gtk errors while building my app on windows.
I checked out the latest wxWidgets from svn and build it with nmake. I
was able to compile the thirdparty and wxart2d without errors.
Here are the errors.

C:\wxArt2D\packages\wxart2d\include\wx/gtk/dc.h(136): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/gtk/dc.h(136): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/gtk/dc.h(136): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/gtk/dc.h(136): error C2433:
'wxGTKDCImpl::GdkWindow' : 'virtual' not permitted on data declarations
C:\wxArt2D\packages\wxart2d\include\wx/gtk/dc.h(136): error C2433:
'wxGTKDCImpl::GdkWindow' : 'virtual' not permitted on data declarations
C:\wxArt2D\packages\wxart2d\include\wx/gtk/dc.h(136): error C2433:
'wxGTKDCImpl::GdkWindow' : 'virtual' not permitted on data declarations
C:\wxArt2D\packages\wxart2d\include\wx/gtk/dc.h(136): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/gtk/dc.h(136): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/gtk/dc.h(136): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/gtk/dc.h(136): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/gtk/dc.h(136): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/gtk/dc.h(136): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/gtk/dc.h(136): warning C4183:
'GetGDKWindow': missing return type; assumed to be a member function
returning 'int'
C:\wxArt2D\packages\wxart2d\include\wx/gtk/dc.h(136): warning C4183:
'GetGDKWindow': missing return type; assumed to be a member function
returning 'int'
C:\wxArt2D\packages\wxart2d\include\wx/gtk/dc.h(136): warning C4183:
'GetGDKWindow': missing return type; assumed to be a member function
returning 'int'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(105): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(105): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(105): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(105): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(105): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(105): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(105): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(105): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(106): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(105): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(106): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(106): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(106): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(106): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(106): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(106): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(106): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(107): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(106): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(107): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(107): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(107): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(107): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(107): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(107): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(107): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(108): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(107): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(108): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(108): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(108): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(108): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(108): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(108): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(108): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(109): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(108): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(109): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(109): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(109): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(109): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(109): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(109): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(109): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(110): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(109): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(110): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(110): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(110): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(110): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(110): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(110): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(110): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(110): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(116): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(116): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(116): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(116): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(116): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(116): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(116): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(116): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(116): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(117): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(117): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(117): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(117): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(117): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(117): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(117): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(117): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(117): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(118): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(118): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(118): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(118): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(118): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(118): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(118): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(118): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(118): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(125): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(125): error C2433:
'wxWindowDCImpl::GdkWindow' : 'virtual' not permitted on data declarations
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(125): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(125): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(125): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(125): error C2433:
'wxWindowDCImpl::GdkWindow' : 'virtual' not permitted on data declarations
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(125): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(125): error C2433:
'wxWindowDCImpl::GdkWindow' : 'virtual' not permitted on data declarations
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(125): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(125): warning C4183:
'GetGDKWindow': missing return type; assumed to be a member function
returning 'int'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(125): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(125): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(128): error C2061:
syntax error : identifier 'GdkGC'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(125): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(125): warning C4183:
'GetGDKWindow': missing return type; assumed to be a member function
returning 'int'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(129): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(125): warning C4183:
'GetGDKWindow': missing return type; assumed to be a member function
returning 'int'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(128): error C2061:
syntax error : identifier 'GdkGC'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(129): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(128): error C2061:
syntax error : identifier 'GdkGC'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(129): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(129): error C2061:
syntax error : identifier 'GdkPixmap'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(129): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(129): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(129): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(129): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(129): warning C4183:
'MonoToColor': missing return type; assumed to be a member function
returning 'int'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(129): error C2061:
syntax error : identifier 'GdkPixmap'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(129): error C2061:
syntax error : identifier 'GdkPixmap'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(129): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(129): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(125): error C2065:
'm_gdkwindow' : undeclared identifier
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(129): warning C4183:
'MonoToColor': missing return type; assumed to be a member function
returning 'int'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(129): warning C4183:
'MonoToColor': missing return type; assumed to be a member function
returning 'int'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(125): error C2065:
'm_gdkwindow' : undeclared identifier
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(125): error C2065:
'm_gdkwindow' : undeclared identifier
C:\wxArt2D\packages\wxart2d\include\wx/gtk/dc.h(136): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/gtk/dc.h(136): error C2433:
'wxGTKDCImpl::GdkWindow' : 'virtual' not permitted on data declarations
C:\wxArt2D\packages\wxart2d\include\wx/gtk/dc.h(136): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/gtk/dc.h(136): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/gtk/dc.h(136): warning C4183:
'GetGDKWindow': missing return type; assumed to be a member function
returning 'int'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(105): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(105): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(105): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(106): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(106): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(106): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(107): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(107): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(107): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(108): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(108): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(108): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(109): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(109): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(109): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(110): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(110): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(110): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(116): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(116): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(116): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(117): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(117): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(117): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(118): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(118): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(118): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(125): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(125): error C2433:
'wxWindowDCImpl::GdkWindow' : 'virtual' not permitted on data declarations
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(125): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(125): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(125): warning C4183:
'GetGDKWindow': missing return type; assumed to be a member function
returning 'int'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(128): error C2061:
syntax error : identifier 'GdkGC'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(129): error C2143:
syntax error : missing ';' before '*'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(129): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(129): error C2061:
syntax error : identifier 'GdkPixmap'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(129): error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(129): warning C4183:
'MonoToColor': missing return type; assumed to be a member function
returning 'int'
C:\wxArt2D\packages\wxart2d\include\wx/dcclient.h(125): error C2065:
'm_gdkwindow' : undeclared identifier
klaas.holwerda
2015-06-24 23:00:44 UTC
Permalink
Hi,

gdk/gtk I would say that it is not windows, but Linux, but you say windows, and also nmake, so I
assume VC.
So you do use cmake to generate the makefiles/project files?

Maybe the SVN of wxWidgets version is the problem??
With wxWigets 3,0 it did/does compile?
Here it does sofar.
Post by Süleyman Demir
Hello,
i get some gdk/gtk errors while building my app on windows.
I checked out the latest wxWidgets from svn and build it with nmake. I
was able to compile the thirdparty and wxart2d without errors.
Forgot the word not above I think ;-)

Regards,

Klaas
Post by Süleyman Demir
Here are the errors.
syntax error : missing ';' before '*'
syntax error : missing ';' before '*'
syntax error : missing ';' before '*'
'wxGTKDCImpl::GdkWindow' : 'virtual' not permitted on data declarations
'wxGTKDCImpl::GdkWindow' : 'virtual' not permitted on data declarations
'wxGTKDCImpl::GdkWindow' : 'virtual' not permitted on data declarations
Süleyman Demir
2015-06-26 07:37:46 UTC
Permalink
Hello Klaas,

i think i found the problem.
In the root of wxArt2D\packages\wxart2d\include\wx there is a dcclient.h.
Maybe it should be not there. Its the same file as in wx\gtk.

Regards
Demir
Hi,
Since I am myself at the latest wxart2d, and wxWidgets 3.0.0, and it
compiles, it may be you should remove all in your build directory (
where cmake points to for the build).
Will try 3.1.0, later to see all is fine with that version.
Regards,
Klaas
Hello Klaas,
yes that is it. I do not understand why i get gdk errors on windows.
yes i use cmake to generate the project files. Tried with versions
2.8 and 3.2.3.
The errors came after i updated to the latest wxart2d.
With an older wxart2d (dez. 2011) and latest wxwidgets from git
(3.1.0) there are no errors.
I cannot get the revision of the older wxart2d because the repository
moved to another server.
relocate didnt work because of different uids.
Regards
Demir
Post by klaas.holwerda
Hi,
gdk/gtk I would say that it is not windows, but Linux, but you say
windows, and also nmake, so I assume VC.
So you do use cmake to generate the makefiles/project files?
Maybe the SVN of wxWidgets version is the problem??
With wxWigets 3,0 it did/does compile?
Here it does sofar.
Post by Süleyman Demir
Hello,
i get some gdk/gtk errors while building my app on windows.
I checked out the latest wxWidgets from svn and build it with nmake. I
was able to compile the thirdparty and wxart2d without errors.
Forgot the word not above I think ;-)
Regards,
Klaas
Post by Süleyman Demir
Here are the errors.
syntax error : missing ';' before '*'
syntax error : missing ';' before '*'
syntax error : missing ';' before '*'
'wxGTKDCImpl::GdkWindow' : 'virtual' not permitted on data
declarations
'wxGTKDCImpl::GdkWindow' : 'virtual' not permitted on data
declarations
'wxGTKDCImpl::GdkWindow' : 'virtual' not permitted on data
declarations
Loading...