Menu

#1619 Suspicious redeclaration

None
open-accepted
nobody
None
5
2016-02-05
2016-02-04
No

There are a lot of warnings about local symbol redeclaration when compiling sources in VS2015.
One of them in

CDynLimBuf &CDynLimBuf::operator+=(const char *s) throw()
{
...
size_t n = _pos + len;
if (n - _size < _size)
{
size_t n = _sizeLimit;
if (n - _size > _size)
n = _size * 2;
}
...
}

looks like error.

Discussion

  • Igor Pavlov

    Igor Pavlov - 2016-02-05
    • status: open --> open-accepted
    • Group: -->
     
  • Igor Pavlov

    Igor Pavlov - 2016-02-05

    Yes, I'll fix it.
    Thanks for report!
    That code now is used only in disabled code for NSIS script.
    I don't use VS2015 still.
    If you see some similar bugs, please notify me.

     

Log in to post a comment.