diff --git a/TAO/NEWS b/TAO/NEWS index 90fb05dd2dc98..88849b71b645a 100644 --- a/TAO/NEWS +++ b/TAO/NEWS @@ -7,6 +7,8 @@ USER VISIBLE CHANGES BETWEEN TAO-4.0.3 and TAO-4.0.4 builtin backend doesn't enforce the bound . Support for using maps in unions, sequences, and arrays . Fix memory leaks caused by maps + . Removed support for deprecated CPP_LOCATION and TAO_IDL_DEFAULT_CPP_FLAGS + environment variables USER VISIBLE CHANGES BETWEEN TAO-4.0.2 and TAO-4.0.3 ==================================================== diff --git a/TAO/TAO_IDL/fe/fe_init.cpp b/TAO/TAO_IDL/fe/fe_init.cpp index dd8e162edbd7f..e0bca2175b65e 100644 --- a/TAO/TAO_IDL/fe/fe_init.cpp +++ b/TAO/TAO_IDL/fe/fe_init.cpp @@ -502,24 +502,7 @@ FE_get_cpp_loc_from_env () } else { - // Check for the deprecated CPP_LOCATION environment variable - ACE_Env_Value cpp_path (ACE_TEXT ("CPP_LOCATION"), - (char *) nullptr); - - if (cpp_path != 0) - { - ACE_ERROR ((LM_WARNING, - "WARNING: The environment variable " - "CPP_LOCATION has been deprecated.\n" - " Please use TAO_IDL_PREPROCESSOR " - "instead.\n")); - - cpp_loc = cpp_path; - } - else - { - cpp_loc = idl_global->cpp_location (); - } + cpp_loc = idl_global->cpp_location (); } return cpp_loc; @@ -538,25 +521,6 @@ FE_get_cpp_args_from_env () { cpp_args = args1; } - else - { - // Check for the deprecated TAO_IDL_DEFAULT_CPP_FLAGS environment - // variable. - ACE_Env_Value args2 (ACE_TEXT ("TAO_IDL_DEFAULT_CPP_FLAGS"), - (char *) nullptr); - - if (args2 != 0) - { - ACE_ERROR ((LM_WARNING, - "Warning: The environment variable " - "TAO_IDL_DEFAULT_CPP_FLAGS has been " - "deprecated.\n" - " Please use " - "TAO_IDL_PREPROCESSOR_ARGS instead.\n")); - - cpp_args = args2; - } - } return cpp_args; } diff --git a/TAO/docs/compiler.html b/TAO/docs/compiler.html index eaa53ba1a27d1..6ca6270989d04 100644 --- a/TAO/docs/compiler.html +++ b/TAO/docs/compiler.html @@ -157,12 +157,6 @@

Generated Files

by setting the environment variables TAO_IDL_PREPROCESSOR and TAO_IDL_PREPROCESSOR_ARGS.

-

In previous versions, the environment variables CPP_LOCATION and -TAO_IDL_DEFAULT_CPP_FLAGS were used for this purpose. Both will still work, -but TAO_IDL will display a deprecation warning if it detects one of these. -It is possible that support for these old variables will be removed in a -future version of TAO.

-

If ACE_ROOT or TAO_ROOT are defined, then TAO_IDL will use them to include the $(ACE_ROOT)/TAO/tao or $(TAO_ROOT)/tao directories. This is to allow TAO_IDL to automatically find