ryzomcore icon indicating copy to clipboard operation
ryzomcore copied to clipboard

OpenGL3 driver no longer builds

Open kaetemi opened this issue 5 years ago • 1 comments

/home/vsts/work/1/s/nel/src/3d/dru.cpp:138:11: error: declaration of ‘static NL3D::IDriver* NL3D::CDRU::createGl3Driver()’ has a different exception specifier
 IDriver  *CDRU::createGl3Driver()
           ^~~~
In file included from /home/vsts/work/1/s/nel/src/3d/dru.cpp:25:
/home/vsts/work/1/s/nel/include/nel/3d/dru.h:171:19: note: from previous declaration ‘static NL3D::IDriver* NL3D::CDRU::createGl3Driver() throw (NL3D::EDru)’
  static IDriver  *createGl3Driver() throw(EDru);
                   ^~~~~~~~~~~~~~~

on feature/opengl3 branch

kaetemi avatar Mar 30 '20 02:03 kaetemi

You can remove "throw(EDru)" since compilers deprecated it in recent C++ versions :)

kervala avatar Mar 30 '20 07:03 kervala