D:\FreeCAD-git\src\Mod\Part\App\BRepOffsetAPI_MakeOffsetFix.h(59,10): error C3668: 'Part::BRepOffsetAPI_MakeOffsetFix::Build': method with override specifier 'override' did not override any base class methods (compiling source file D:\FreeCAD-git\src\Mod\Part\App\BRepOffsetAPI_MakeOffsetFix.cpp)
...
13>D:\FreeCAD-git\src\Mod\Part\App\FaceMaker.h(78,10): error C3668: 'Part::FaceMaker::Build': method with override specifier 'override' did not override any base class methods (compiling source file D:\FreeCAD-git\src\Mod\Part\App\FaceMakerCheese.cpp)
...
13>D:\FreeCAD-git\src\Mod\Part\App\modelRefine.h(201,10): error C3668: 'Part::BRepBuilderAPI_RefineModel::Build': method with override specifier 'override' did not override any base class methods (compiling source file D:\FreeCAD-git\src\Mod\Part\App\FeaturePartBoolean.cpp)
...
D:\FreeCAD-git\src\Mod\Part\App\BRepOffsetAPI_MakeOffsetFix.h(59,10): error C3668: 'Part::BRepOffsetAPI_MakeOffsetFix::Build': method with override specifier 'override' did not override any base class methods (compiling source file D:\FreeCAD-git\src\Mod\Part\App\BRepOffsetAPI_MakeOffsetFix.cpp)
...
13>D:\FreeCAD-git\src\Mod\Part\App\FaceMaker.h(78,10): error C3668: 'Part::FaceMaker::Build': method with override specifier 'override' did not override any base class methods (compiling source file D:\FreeCAD-git\src\Mod\Part\App\FaceMakerCheese.cpp)
...
13>D:\FreeCAD-git\src\Mod\Part\App\modelRefine.h(201,10): error C3668: 'Part::BRepBuilderAPI_RefineModel::Build': method with override specifier 'override' did not override any base class methods (compiling source file D:\FreeCAD-git\src\Mod\Part\App\FeaturePartBoolean.cpp)
...
@berniev , @wmayer
EDIT: it seems there are "only" these 3 errors, that are just repeated many times for all compilation targets that rely on Part.
uwestoehr wrote: ↑Tue Aug 09, 2022 3:09 pm
OK, there were some more, also in Spreadsheet and Gui. I will commit the fixes (partial reversion) later today
I was working until now to get trillions of warnings fixed -- but I hadn't any build failure.
When looking at your failures then the compiler claims that BRepBuilderAPI_MakeShape::Build is not a virtual method. So, I had a look at the OCC 7.6 sources and there indeed the method is declared as:
This is an important point because it means that some of our sub-classes of BRepBuilderAPI_MakeShape won't work correctly any more due to this API change. Luckily the today's PR revealed this problem.
Please don't commit any changes because I will do it...
Severity Code Description Project File Line Suppression State
Error C3668 'Gui::GestureNavigationStyle::IdleState::~IdleState': method with override specifier 'override' did not override any base class methods FreeCADGui C:\Users\chennes\Documents\GitHub\FreeCAD\src\Gui\GestureNavigationStyle.cpp 248
Error C3668 'Gui::GestureNavigationStyle::AwaitingMoveState::~AwaitingMoveState': method with override specifier 'override' did not override any base class methods FreeCADGui C:\Users\chennes\Documents\GitHub\FreeCAD\src\Gui\GestureNavigationStyle.cpp 374
Error C3668 'Gui::GestureNavigationStyle::RotateState::~RotateState': method with override specifier 'override' did not override any base class methods FreeCADGui C:\Users\chennes\Documents\GitHub\FreeCAD\src\Gui\GestureNavigationStyle.cpp 497
Error C3668 'Gui::GestureNavigationStyle::PanState::~PanState': method with override specifier 'override' did not override any base class methods FreeCADGui C:\Users\chennes\Documents\GitHub\FreeCAD\src\Gui\GestureNavigationStyle.cpp 542
Error C3668 'Gui::GestureNavigationStyle::StickyPanState::~StickyPanState': method with override specifier 'override' did not override any base class methods FreeCADGui C:\Users\chennes\Documents\GitHub\FreeCAD\src\Gui\GestureNavigationStyle.cpp 589
Error C3668 'Gui::GestureNavigationStyle::TiltState::~TiltState': method with override specifier 'override' did not override any base class methods FreeCADGui C:\Users\chennes\Documents\GitHub\FreeCAD\src\Gui\GestureNavigationStyle.cpp 634
Error C3668 'Gui::GestureNavigationStyle::GestureState::~GestureState': method with override specifier 'override' did not override any base class methods FreeCADGui C:\Users\chennes\Documents\GitHub\FreeCAD\src\Gui\GestureNavigationStyle.cpp 687
Error C3668 'Gui::GestureNavigationStyle::AwaitingReleaseState::~AwaitingReleaseState': method with override specifier 'override' did not override any base class methods FreeCADGui C:\Users\chennes\Documents\GitHub\FreeCAD\src\Gui\GestureNavigationStyle.cpp 762
Error C3668 'Gui::GestureNavigationStyle::InteractState::~InteractState': method with override specifier 'override' did not override any base class methods FreeCADGui C:\Users\chennes\Documents\GitHub\FreeCAD\src\Gui\GestureNavigationStyle.cpp 813