By: Tim DelChiaro
Abstract: This fix updates the behavior of command line switches used by the c command line preprocessor (cpp32.exe)
Hotfix 1 for RAD Studio 2010 (for C++Builder 2010) is now available at http://cc.embarcadero.com/item/27567.
This software patch is being provided to licensed users of Embarcadero RAD Studio 2010. Installation and use are governed by the license statement for Embarcadero RAD Studio 2010.
Product: Embarcadero RAD Studio, C++Builder
Update level: Update 4 / Update 5 (Database Pack)
Editions: Professional, Enterprise, Architect
Languages: English, German, French, Japanese
Quality Central Tracking Number(s): 79954
Internal Tracking Number(s): 273846
This fix updates the behavior of command line switches used by the c command line preprocessor (cpp32.exe). In early versions of C++Builder the documentation stated that the -P switch controlled the generation of line number information in the preprocessor output. The documentation however changed in C++ Builder 6 to no longer include that information. In C++Builder 2010, the preprocessor behavior was changed to match the compiler behavior more closely and -P now tells the preprocessor to parse source files as C++ regardless of file extension. The old behavior (-P-) to not generate line number information was removed. This fix restores that behavior with the -sl switch. This fix is recommended for users of ACE/TAO and anyone who used the -P- switch for the preprocessor.
1. Rename \\Program Files\Embarcadero\RAD Studio\7.0\bin\cpp32.exe to cpp32.bak
2. Place the new cpp32.exe in the \\Program Files\Embarcadero\RAD Studio\7.0\bin directory
Download Delphi 10 now!
Webinars on demand!
More social media choices:
Delphi on Google+
@RADTools on Twitter
Server Response from: ETNASC02