ACE_TAO
ACE_TAO copied to clipboard
[ACE6] tao_idl Improvements
Backport of the appropriate features of #1357 to TAO 2.
- Added an IDL preprocessor macro for the IDL version,
__TAO_IDL_IDL_VERSION
. - Added proper documentation for the
__TAO_IDL
IDL preprocessor macro. - Fixed issue encountered in this OpenDDS PR where OpenDDS'
idl2jni
, which is atao_idl
-derived compiler, can't properly handle relative includes becausetao_idl
makes a temporary copy that is passed to the preprocessor. Unlike in #1357guess
is not the default for--preprocessor-input
, butcopy
is, which is the current behavior.
See my comments of #1357, why not set the preprocessor handling through config*.h files instead of guessing it in tao_idl.