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 2013/12/16 11:08:18 UTC

[Bug 123859] New: Use of incomplete types in comphelper's locale.cxx

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

            Bug ID: 123859
        Issue Type: DEFECT
           Summary: Use of incomplete types in comphelper's locale.cxx
           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

In main/comphelper/inc/comphelper/locale.hxx the Locale class is being used as
return type when it is still incomplete. Current Solaris compilers fail to
handle this scenario. Though this behavior is a bit unusual it is legal
according to the C++ standard.

-- 
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 123859] Use of incomplete types in comphelper's locale.cxx

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED
           Assignee|issues@openoffice.apache.or |hdu@apache.org
                   |g                           |
   Target Milestone|---                         |4.1.0

--- Comment #3 from hdu@apache.org <hd...@apache.org> ---
Fixed with the commit 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 123859] Use of incomplete types in comphelper's locale.cxx

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

--- Comment #2 from SVN Robot <sv...@dev.null.org> ---
"hdu" committed SVN revision 1551855 into trunk:
#i123859# avoid incomplete Local class as return value

-- 
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 123859] Use of incomplete types in comphelper's locale.cxx

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #82111|i122766_locale.patch        |i123859_locale.patch
           filename|                            |

-- 
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 123859] Use of incomplete types in comphelper's locale.cxx

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

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

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

--- Comment #4 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 123859] Use of incomplete types in comphelper's locale.cxx

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

--- Comment #1 from hdu@apache.org <hd...@apache.org> ---
Created attachment 82111
  --> https://issues.apache.org/ooo/attachment.cgi?id=82111&action=edit
avoid incomplete Locale class as return value

If this patch doesn't work directly then adding a forward declaration
   class Locale;
before the actual class declaration in locale.hxx could be useful.

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