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_ValueGenerated 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