Changes between Initial Version and Version 1 of Ticket #7834


Ignore:
Timestamp:
Jan 3, 2013, 4:23:51 PM (10 years ago)
Author:
viboes
Comment:

This ticket will get more interest if you:

  • create a ticket by component library
  • the ticket contains information allowing the maintainer to manage with the issue.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7834

    • Property Status newclosed
    • Property Resolutionwontfix
  • Ticket #7834 – Description

    initial v1  
    33And some of these seem real (by cursory look) -- e.g. :
    44
     5
     6{{{
    57C6385: 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
    610
    711On 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.
     
    913Here is a list of sample issues...
    1014
     15
     16{{{
    1117C6334: 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
    1218C6285: (<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
     
    5864C6246: 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
    5965C6246: 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