Error processing an idl file.



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.   



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]