cgal icon indicating copy to clipboard operation
cgal copied to clipboard

warning in Lab

Open afabri opened this issue 1 month ago • 2 comments

Issue Details

Fix this warning

Source Code

In file included from /home/cgal_tester/build/src/cmake/platforms/Ubuntu-latest-GCC6-CXX1z/test/Lab_Demo/demo_framework_autogen/EWIEGA46WW/../../../../../../../../../../../mnt/testsuite/test/Lab_Demo/Viewer.h:12,
                 from /home/cgal_tester/build/src/cmake/platforms/Ubuntu-latest-GCC6-CXX1z/test/Lab_Demo/demo_framework_autogen/EWIEGA46WW/moc_Viewer.cpp:10,
                 from /home/cgal_tester/build/src/cmake/platforms/Ubuntu-latest-GCC6-CXX1z/test/Lab_Demo/demo_framework_autogen/mocs_compilation.cpp:4:
/mnt/testsuite/include/CGAL/Three/Viewer_interface.h:42:21: warning: defining ‘CGAL::Three::Viewer_interface’, which previously failed to be complete in a SFINAE context [-Wsfinae-incomplete=]
   42 | class VIEWER_EXPORT Viewer_interface : public CGAL::QGLViewer{
      |                     ^~~~~~~~~~~~~~~~
```

afabri avatar Nov 26 '25 07:11 afabri

I tried to solve that warning last week, and I concluded (without being completely sure) that it was a compiler bug.

lrineau avatar Nov 26 '25 08:11 lrineau

Can we then add an option in the CXX_FLAGS related to -Wsfinae-incomplete ?

afabri avatar Nov 26 '25 08:11 afabri