Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Internationalization Module User's Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

9.4 Compiling in Debug Mode

You can build the Internationalization Module in debug mode to help uncover and correct internal errors in your code. To build a debug version of the library, you must compile the library, all dependent SourcePro libraries, and all your own object code with the preprocessor flag RW_DEBUG defined. The resultant library and program is slightly larger and slightly slower. See Installing and Building Your SourcePro C++ Products for more information on compiling in debug mode.

The flag RWDEBUG activates a set of PRECONDITION and POSTCONDITION clauses at the beginning and end of critical functions. These preconditions and postconditions are implemented with asserts. A failure causes the program to print the offending condition, along with the file and line number where it occurred. The program then halts.



Previous fileTop of DocumentContentsNo linkNext file

Copyright © Rogue Wave Software, Inc. All Rights Reserved.

The Rogue Wave name and logo, and SourcePro, are registered trademarks of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.