https://issues.apache.org/ooo/show_bug.cgi?id=123948

            Bug ID: 123948
        Issue Type: DEFECT
           Summary: fix class/struct mismatches
           Product: General
           Version: 4.1.0-dev
          Hardware: All
                OS: All
            Status: CONFIRMED
          Severity: normal
          Priority: P3
         Component: code
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
            Blocks: 122766

C++ classes and structs behave very similarly, except that their default access
is different: classes default to "private" access whereas structs default to
"public" access. Because of this similarity many compilers treat tolerate that
both are treated the same, even though they are different types.

Mixing class and struct declarations/defines is very dubious and it violates
the "one definition rule". These mixups should be eliminated from the AOO
codebase to improve its C++ compliance-

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

Reply via email to