Debian Package rebuild

Rebuild of the Debian archive with clang

"Access to a protected member" build failure(s)
clang 3.8.1
Return to the list
This is a difference of interpretation between gcc and clang.
See gcc bug#52136 and clang bug #6840.
class address 
{
protected:
    static int parseNext(int a);
};


class mailbox : public address
{
    friend class mailboxField;
};

class mailboxField
{
    void parse(int a)
        {
            address::parseNext(a);
            // will work with:
            // mailbox::parseNext(a);
        }
};
clang will fail with:
$  clang++    -c mailboxField.cpp   
mailboxField.cpp:18:22: error: 'parseNext' is a protected member of 'address'
            address::parseNext(a);
                     ^
mailboxField.cpp:5:16: note: declared protected here
    static int parseNext(int a);
               ^
1 error generated.

Versions: 2.9 - 3.0 - 3.1 - 3.2 - 3.3 - 3.4 - 3.4.2 - 3.5.0 - 3.6.0 - 3.8.1 - 3.9.1 - 4.0.1 - 5.0 - 6.0 - 8.0.1 - 9.0.1 - 10.0.0 - 11.0.0 - 12.0.1 - 13.0.0
PackageVersionSupposed error messageFull log Bug report
asl 0.1.6-3acl.cxx:525:14: error: 'size' is a protected member of 'acl::ElementBase' Log
python-demgengeo 1.2-1src/CircMNTableXY2D.cc:285:29: error: 's_output_style' is a protected member of 'MNTable2D' Log
2 errors
Return to the list