Changes between Initial Version and Version 1 of Ticket #7834
- Timestamp:
- Jan 3, 2013, 4:23:51 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #7834
- Property Status new → closed
- Property Resolution → wontfix
-
Ticket #7834 – Description
initial v1 3 3 And some of these seem real (by cursory look) -- e.g. : 4 4 5 6 {{{ 5 7 C6385: Reading invalid data from 'x': the readable size is '2496' bytes, but 'i' bytes may be read.: Lines: 451, 452, 454 utf_baselib_vc11 line 454, external location: c:\dev\3rd\x86\boost_1_52_0\boost\random\mersenne_twister.hpp C/C++ Problem 8 }}} 9 6 10 7 11 On top of this it looks like some libraries are not matching correctly #pragma warning( push ) with #pragma warning( pop ), so I can't easily suppress these in my code; of course if I were to suppress these in my code I will have to litter my code with #pragma warning( push / pop ) all over the place which is certainly not appealing. Ideally these should either be fixed (by properly annotating the code) or suppressed if they're determined to be false positives and the code is ok. … … 9 13 Here is a list of sample issues... 10 14 15 16 {{{ 11 17 C6334: sizeof operator applied to an expression with an operator might yield unexpected results. utf_baselib_vc11 line 38, external location: c:\dev\3rd\x86\boost_1_52_0\boost\intrusive\detail\is_stateful_value_traits.hpp C/C++ Problem 12 18 C6285: (<non-zero constant> || <non-zero constant>) is always a non-zero constant. Did you intend to use the bitwise-and operator? utf_baselib_vc11 line 59, external location: c:\dev\3rd\x86\boost_1_52_0\boost\intrusive\detail\is_stateful_value_traits.hpp C/C++ Problem … … 58 64 C6246: Local declaration of 'e' hides declaration of the same name in outer scope. For additional information, see previous declaration at line '300' of 'c:\dev\3rd\x86\boost_1_52_0\boost\exception\detail\exception_ptr.hpp'.: Lines: 300 utf_baselib_vc11 line 382, external location: c:\dev\3rd\x86\boost_1_52_0\boost\exception\detail\exception_ptr.hpp C/C++ Problem 59 65 C6246: Local declaration of 'e' hides declaration of the same name in outer scope. For additional information, see previous declaration at line '300' of 'c:\dev\3rd\x86\boost_1_52_0\boost\exception\detail\exception_ptr.hpp'.: Lines: 300 utf_baselib_vc11 line 387, external location: c:\dev\3rd\x86\boost_1_52_0\boost\exception\detail\exception_ptr.hpp C/C++ Problem 66 }}} 67