[omniORB] #pragma version
Douglas Kosovic
douglask@dstc.edu.au
Tue, 14 Dec 1999 11:37:53 +1000
Hi,
Is anyone able to use '#pragma version' in IDL files with the OmniORB
2.8 or later IDL compiler (on Solaris)?
With the following IDL:
interface IRObject {
#pragma version IRObject 2.3
readonly attribute DefinitionKind def_kind;
void destroy();
};
I get the following error message:
line 2: Illegal syntax following interface '{' opener
Currently I'm commenting out all occurrences of '#pragma version' and
then manually modifying the version numbers in the .hh stub that gets
generated.
Thanks,
Doug.