You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2014/01/02 15:55:26 UTC

[Bug 123948] New: fix class/struct mismatches

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: issues@openoffice.apache.org
          Reporter: hdu@apache.org
                CC: issues@openoffice.apache.org
            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.

[Bug 123948] fix class/struct mismatches

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123948

--- Comment #2 from SVN Robot <sv...@dev.null.org> ---
"hdu" committed SVN revision 1556523 into trunk:
#i123948# fix struct/class mismatch from PropertyValue forward declaration

-- 
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.

[Bug 123948] fix class/struct mismatches

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123948

--- Comment #3 from SVN Robot <sv...@dev.null.org> ---
"hdu" committed SVN revision 1560054 into trunk:
#i123948# fix more class/struct mismatches

-- 
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.

[Bug 123948] fix class/struct mismatches

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123948

--- Comment #1 from SVN Robot <sv...@dev.null.org> ---
"hdu" committed SVN revision 1555078 into trunk:
#i123948# fix struct/class mismatch of PrefetchPropertiesFunc's forward
decla...

-- 
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.

[Issue 123948] fix class/struct mismatches

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123948

hdu@apache.org <hd...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED

--- Comment #6 from hdu@apache.org <hd...@apache.org> ---
Closing the resolved issue.

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

[Bug 123948] fix class/struct mismatches

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123948

hdu@apache.org <hd...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from hdu@apache.org <hd...@apache.org> ---
Fixed with the commits above.

-- 
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.

[Bug 123948] fix class/struct mismatches

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123948

Oliver-Rainer Wittmann <or...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|orw@apache.org              |

-- 
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.

[Bug 123948] fix class/struct mismatches

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123948

hdu@apache.org <hd...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|issues@openoffice.apache.or |hdu@apache.org
                   |g                           |

-- 
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.

[Bug 123948] fix class/struct mismatches

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123948

Oliver-Rainer Wittmann <or...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |orw@apache.org
   Target Milestone|---                         |4.1.0

--- Comment #4 from Oliver-Rainer Wittmann <or...@apache.org> ---
@Herbert: Is this issue solved already?

-- 
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.