Package: *zeroc-ice*
Version: 3.7.2-2
Severity: normal
Tags: patch

Currently build on ppc64el fails with

    src/Ice/Network.cpp:451:17: error: declaration of ‘i’ shadows a
    previous local [-Werror=shadow]

            for(int i = 0; i < numaddrs; ++i)

    ^ src/Ice/Network.cpp:395:13: note: shadowed declaration is here
    for(int i = 0; i < 2; i++)


An easy patch could be to replace
        for(int i = 0; i < numaddrs; ++i)
with
        for(i = 0; i < numaddrs; ++i)

Reply via email to