expected class-name error in Ubuntu
Posted: Wed Jun 27, 2018 4:49 pm
I transferred a wxWidgets project from Windows 7 to Ubuntu 16.04. To do this I created a new project file in Code::Blocks and added the transferred files to it. When I compile in Ubuntu I get this error I did not get in Windows 7:
And several others errors also. The one above is the first. What has gone wrong here? I do not intend to create a dll./usr/include/wx-3.0-unofficial/wx/dlimpexp.h:20:22: error: expected class-name before ‘__attribute__’
# define WXIMPORT __attribute__ ((visibility("default")))