To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=115555
                 Issue #|115555
                 Summary|cppumaker doesn't generate header for included constan
                        |ts
               Component|udk
                 Version|OOO330m9
                Platform|All
                     URL|
              OS/Version|All
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|kr
             Reported by|olistraub





------- Additional comments from olistr...@openoffice.org Fri Nov 12 12:34:09 
+0000 2010 -------
When having an IDL file like this:
#include <xoc/ZMemoryConstants.idl>
module xoc {
  interface ZMemoryManager : com::sun::star::uno::XInterface { 
    void doit([in] long value);
  };
};

with ZMemoryConstants.idl:
module xoc {
  constants ZMemoryConstants { 
    const long BUFFER_WORD_SIZE = 4;
  };
}; 

When calling cppumaker -Txoc.ZMemoryManager, no header for ZMemoryConstants.idl
is generated, although ZMemoryConstants.idl is included by ZMemoryManager.idl

The constants don't show up as types in the interface of ZMemoryManager, so the
generated header file is compilable. But I still think that if the IDL file
references a file with constants, they should also be generated.
Thought further, the generated ZMemoryManager.hpp should then also include
ZMemoryConstants.hpp

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@udk.openoffice.org
For additional commands, e-mail: issues-h...@udk.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to