-
Type: Bug
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: None
-
None
The Visual C++ compiler reports the following warnings in the WiredTiger code. It seems most of those are because methods, which seem to only be doing reading should have the respective input arguments decorated with 'const':
e:\workspace\mongo\src\third_party\wiredtiger\src\include\btree.i(794) : warning C4090: 'function' : different 'const' qualifiers e:\workspace\mongo\src\third_party\wiredtiger\src\include\cursor.i(251) : warning C4090: 'function' : different 'const' qualifiers src\third_party\wiredtiger\src\btree\row_key.c(182) : warning C4090: 'function' : different 'const' qualifiers src\third_party\wiredtiger\src\btree\row_key.c(288) : warning C4090: 'function' : different 'const' qualifiers src\third_party\wiredtiger\src\btree\row_srch.c(213) : warning C4090: 'function' : different 'const' qualifiers src\third_party\wiredtiger\src\btree\row_srch.c(247) : warning C4090: 'function' : different 'const' qualifiers src\third_party\wiredtiger\src\cursor\cur_ds.c(493) : warning C4090: 'function' : different 'const' qualifiers src\third_party\wiredtiger\src\cursor\cur_ds.c(496) : warning C4090: 'function' : different 'const' qualifiers
- related to
-
WT-8467 Warning C4090: 'function': different 'const' qualifiers for make-check-test on * Windows 64-bit CMake
- Closed