MantisBT - Community
View Issue Details
0027091Community[OCCT] OCCT:Codingpublic2016-01-20 06:432016-04-20 15:49
Epy 
bugmaster 
normalminor 
closedfixed 
Ubuntu 15.10 x64
[OCCT] 7.0.0 
[OCCT] 7.0.0[OCCT] 7.0.0 
0027091: 7.0.0 beta Clang OOP -Wall warnings - missing overrides and undefined internal linkages
Compiling the OCCT 7.0.0 beta tarball using Clang 3.6.2 under Ubuntu 15.10 x64, the following warnings are issued (overloaded virtual warnings are excluded):

/home/jake/opencascade-7.0.0-beta/src/StdLDrivers/StdLDrivers_DocumentRetrievalDriver.hxx:27:48: warning: 'CreateDocument' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
/home/jake/opencascade-7.0.0-beta/src/StdLDrivers/StdLDrivers_DocumentRetrievalDriver.hxx:30:32: warning: 'Read' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
/home/jake/opencascade-7.0.0-beta/src/StdLDrivers/StdLDrivers_DocumentRetrievalDriver.hxx:27:48: warning: 'CreateDocument' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
/home/jake/opencascade-7.0.0-beta/src/StdLDrivers/StdLDrivers_DocumentRetrievalDriver.hxx:30:32: warning: 'Read' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
/home/jake/opencascade-7.0.0-beta/src/Standard/Standard_Type.hxx:169:34: warning: variable 'opencascade::type_instance<(anonymous namespace)::BRepBuilderAPI_Copy_Modification>::myInstance' has internal linkage but is not defined [-Wundefined-internal]
/home/jake/opencascade-7.0.0-beta/src/StdLDrivers/StdLDrivers_DocumentRetrievalDriver.hxx:27:48: warning: 'CreateDocument' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
/home/jake/opencascade-7.0.0-beta/src/StdLDrivers/StdLDrivers_DocumentRetrievalDriver.hxx:30:32: warning: 'Read' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
/home/jake/opencascade-7.0.0-beta/src/StdDrivers/StdDrivers_DocumentRetrievalDriver.hxx:24:32: warning: 'BindTypes' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
/home/jake/opencascade-7.0.0-beta/src/StdLDrivers/StdLDrivers_DocumentRetrievalDriver.hxx:27:48: warning: 'CreateDocument' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
/home/jake/opencascade-7.0.0-beta/src/StdLDrivers/StdLDrivers_DocumentRetrievalDriver.hxx:30:32: warning: 'Read' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
/home/jake/opencascade-7.0.0-beta/src/StdDrivers/StdDrivers_DocumentRetrievalDriver.hxx:24:32: warning: 'BindTypes' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
/home/jake/opencascade-7.0.0-beta/src/Standard/Standard_Type.hxx:169:34: warning: variable 'opencascade::type_instance<(anonymous namespace)::VUserDrawObj>::myInstance' has internal linkage but is not defined [-Wundefined-internal]
use -Wall compiler option
No tags attached.
related to 0027106closed bugmaster Unresolved external symbols during build a 3rdparty tools in release mode 
Issue History
2016-01-20 06:43EpyNew Issue
2016-01-20 06:43EpyAssigned To => kgv
2016-01-20 11:04kgvNote Added: 0049963
2016-01-20 11:04kgvAssigned Tokgv => abv
2016-01-20 11:04kgvStatusnew => feedback
2016-01-20 11:04kgvProduct Version => 7.0.0
2016-01-20 11:04kgvTarget Version => 7.0.0
2016-01-21 09:00abvNote Added: 0049990
2016-01-21 09:00abvAssigned Toabv => bugmaster
2016-01-21 09:00abvStatusfeedback => tested
2016-01-21 09:02abvChangeset attached => occt master 8bb8064e
2016-01-21 12:36bugmasterStatustested => verified
2016-01-21 12:36bugmasterResolutionopen => fixed
2016-01-25 10:39abvRelationship addedrelated to 0027106
2016-04-20 15:43aivFixed in Version => 7.0.0
2016-04-20 15:49aivStatusverified => closed

Notes
(0049963)
kgv   
2016-01-20 11:04   
The issue should be already resolved with integration "Fix of compiler warnings on OCCT 7.0.0.beta (CLang and VC++ 14)" (2016-01-03, abv).
(0049990)
abv   
2016-01-21 09:00   
Yes, these are fixed in master. Igor, please change the status to Verified.