Hi Oliver,

it's the parameter name ...

see the idlc options:
...
-w          = display warning messages.
-we         = treat warnings as errors.
...

you get this warning
...: WARNING, type or identifier doesn't fulfill the UNO naming convention: _something

See the naming convention here http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/AppendixA/General_Design_Rules

Sometimes just reading helps a lot ;-)

Juergen

Oliver Brinzing wrote:
Hi,

can one give me a hint, why i get warnings for the following *.idl files ??

D:\Programme\OO_SDK_30\windows\bin\idlc: compile
'E:\Java\tvs-projects\tvs-structedit-tool-dev\idl\bw\stv\tvs\structedit\tool\Service.idl'
 ...
D:\Programme\OO_SDK_30\windows\bin\idlc: detected 1 warnings compiling file
'E:\Java\tvs-projects\tvs-structedit-tool-dev\idl\bw\stv\tvs\structedit\tool\Service.idl'
D:\Programme\OO_SDK_30\windows\bin\idlc: compile
'E:\Java\tvs-projects\tvs-structedit-tool-dev\idl\bw\stv\tvs\structedit\tool\XGetSomething.idl'
 ...
D:\Programme\OO_SDK_30\windows\bin\idlc: detected 1 warnings compiling file
'E:\Java\tvs-projects\tvs-structedit-tool-dev\idl\bw\stv\tvs\structedit\tool\XGetSomething.idl'
D:\Programme\OO_SDK_30\windows\bin\idlc: returned successful

#ifndef __bw_stv_tvs_structedit_tool_XGetSomething_idl__
#define __bw_stv_tvs_structedit_tool_XGetSomething_idl__

#include <com/sun/star/uno/XInterface.idl>

module bw {
        module stv {
                module tvs {
                        module structedit {
                                module tool {
                                        interface XGetSomething : 
com::sun::star::uno:: XInterface {
                                                string saySomething([in] string 
_something);
                                        };
                                };
                        };
                };
        };
};

#endif

#ifndef __bw_stv_tvs_structedit_tool_Service_idl__
#define __bw_stv_tvs_structedit_tool_Service_idl__

#include <XGetSomething.idl>

module bw {
        module stv {
                module tvs {
                        module structedit {
                                module tool {
                                        service Service {
                                                interface 
bw::stv::tvs::structedit::tool::XGetSomething;
                                        };
                                };
                        };
                };
        };
};

#endif

Oliver



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to