Error processing an idl file.

View: New views
2 Messages — Rating Filter:   Alert me  

Error processing an idl file.

by Javier Fernandez :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Im getting an strange error processing a very simple IDL file:

#ifndef _FCOMMONMODULE_IDL_
#define _FCOMMONMODULE_IDL_

module f_common {

enum FisterraErrorType {
  FisterraFailed, FisterraNoPermission,
  FisterraBadAddress, FisterraParseError, FisterraCorrupt,
  FisterraTypeMismatch, FisterraNoDatabaseAvailable,
  FisterraInShutdown, FisterraDatabaseTransactionError,
  FisterraDatabaseOperationError, FisterraDatabaseUpdateConflict,  
  FisterraDatabaseConnectionError, FisterraEDIError
};

exception FisterraException {
  FisterraErrorType err_no;
  string message;
};
           
};

#endif /* _FCOMMONMODULE_IDL_ */

This IDL just define several error types for using them in a
client/server application.

Im compiling gthis IDL file using:

/usr/bin/orbit-idl-2 --onlytop -I .  ./f_com_corba_common.idl
 
Im receiving the following error:

orbit-idl-2 2.14.12 compiling
  mode, hide preprocessor errors, passes: stubs skels common headers

Processing file ./f_com_corba_common.idl
**
** ERROR:(orbit-idl-c-headers.c:300):ch_output_types: assertion failed:
(htail && strlen (htail) >= 2)
Aborted

If i remove the "--onlytop" option, the file is successfully processed.
However, i need this option in other IDL files that i have to use later,
in which additional IDL files are included using the "#include"
directive.

The strange thing is that i have not that error using Debian/stable
neither Ubuntu/Hardy. That error appears only in Debian/testing.

Thanks for your help.  

_______________________________________________
orbit-list mailing list
orbit-list@...
http://mail.gnome.org/mailman/listinfo/orbit-list

Re: Error processing an idl file.

by Jules Colding :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

On 26/08/2008, at 20.31, Javier Fernandez Garcia-Boente wrote:
> The strange thing is that i have not that error using Debian/stable
> neither Ubuntu/Hardy. That error appears only in Debian/testing.

It must be something in Debian/testing as it compiles just fine for me  
on darwin. I'm also using 2.14.12 as you are.

Best regards,
   jules


_______________________________________________
orbit-list mailing list
orbit-list@...
http://mail.gnome.org/mailman/listinfo/orbit-list