ACE_TAO icon indicating copy to clipboard operation
ACE_TAO copied to clipboard

tao_idl Improvements

Open iguessthislldo opened this issue 4 years ago • 7 comments

  • Made IDL 4 the default.
  • Added an IDL preprocessor macro for the IDL version, __TAO_IDL_IDL_VERSION.
  • Added proper documentation for the __TAO_IDL IDL preprocessor macro.
  • Remove support for long deprecated CPP_LOCATION and TAO_IDL_DEFAULT_CPP_FLAGS environment variables.
  • Fixed issue encountered in this OpenDDS PR where OpenDDS' idl2jni, which is a tao_idl-derived compiler, can't properly handle relative includes because tao_idl makes a temporary copy that is passed to the preprocessor. Fixed this by making it preferred to pass the IDL file to the preprocessor directly.

iguessthislldo avatar Dec 29 '20 04:12 iguessthislldo

Very likely some old preprocessors had issues when passing them a IDL file directly due to the idl extension, some required it to be c/cpp

jwillemsen avatar Dec 29 '20 09:12 jwillemsen

Found recently that bcc32c/bcc64 (the Embarcadero clang based compilers) can't preprocess a file with a IDL extension, we need a copy with cpp extension with those compilers.

jwillemsen avatar Jul 13 '21 13:07 jwillemsen