i42output / neoGFX

Cross-platform GPU-oriented C++ application/game framework
http://neogfx.org/
GNU General Public License v3.0
546 stars 51 forks source link

error: explicit specialization of ‘template<class T, class> struct neolib::setting_type_name’ outside its namespace must use a nested-name-specifier [-fpermissive] #193

Closed jopadan closed 10 months ago

jopadan commented 1 year ago
/usr/src/libs/framework/neogfx/i42output/neoGFX/include/neogfx/core/geometrical.hpp:1432:1: error: explicit specialization of ‘template<class T, class> struct neolib::setting_type_name’ outside its namespace must use a nested-name-specifier [-fpermissive]
 1432 | define_setting_type(neogfx::delta)
      | ^~~~~~~~~~~~~~~~~~~
/usr/src/libs/framework/neogfx/i42output/neoGFX/include/neogfx/core/geometrical.hpp:1433:1: error: explicit specialization of ‘template<class T, class> struct neolib::setting_type_name’ outside its namespace must use a nested-name-specifier [-fpermissive]
 1433 | define_setting_type(neogfx::size)
      | ^~~~~~~~~~~~~~~~~~~
/usr/src/libs/framework/neogfx/i42output/neoGFX/include/neogfx/core/geometrical.hpp:1434:1: error: explicit specialization of ‘template<class T, class> struct neolib::setting_type_name’ outside its namespace must use a nested-name-specifier [-fpermissive]
 1434 | define_setting_type(neogfx::point)
      | ^~~~~~~~~~~~~~~~~~~
/usr/src/libs/framework/neogfx/i42output/neoGFX/include/neogfx/core/geometrical.hpp:1435:1: error: explicit specialization of ‘template<class T, class> struct neolib::setting_type_name’ outside its namespace must use a nested-name-specifier [-fpermissive]
 1435 | define_setting_type(neogfx::rect)
      | ^~~~~~~~~~~~~~~~~~~
i42output commented 10 months ago

Fixed in neolib. Thanks for the bug report!