matus-chochlik / oglplus

OGLplus is a collection of open-source, cross-platform libraries which implement an object-oriented facade over the OpenGL® (version 3 and higher) and also OpenAL® (version 1.1) and EGL (version 1.4) C-language APIs. It provides wrappers which automate resource and object management and make the use of these libraries in C++ safer and more convenient.
http://oglplus.org/
Boost Software License 1.0
492 stars 72 forks source link

#include <oglplus/config/basic.hpp> missing in deferred_handler.hpp #152

Open freehour opened 4 years ago

freehour commented 4 years ago

I get following error message: oglplus/error/deferred_handler.ipp(17): error C2144: syntax error: 'void' should be preceded by ';' because OGLPLUS_LIB_FUNC is not defined as <oglplus/config/basic.hpp> is not included in deferred_handler.ipp or deferred_handler.hpp.

Adding #include <oglplus/config/basic.hpp> to deferred_handler.hpp fixes the error.