codeviewpro9compatible

Controls the emission of CodeView 5.0 formatted debug files compatible with MSVC 6 or MSVC .NET 2003. The default is on.

Syntax

#pragma codeviewpro9compatible on | off | reset

Parameters

on

Format debug files for MSVC 6 and CodeWarrior Professional 9. This is the equivilent of Symbian’s command-line option -sym codeview.

off

Format debug files for MSVC .NET 2003. This is the equivalent of Symbian’s command-line option -sym codeview_new.

NOTE If you normally use the command line option "-g" to enable debug information and wish to use "-sym codeview_new", note that "-g" also implies "-sym fullpath", so specify either "-g -sym codeview_new" or "-sym fullpath,codeview_new" to retain full paths in the debug information.

Targets
Intel x86
Remarks

NOTE The Carbide linker can accept object files or libraries using both the old and the new Codeview formats and generates an executable using a mixture of formats. The Carbide debugger will accept such mixed-format information. MSVC 6 and .NET 2003, however, only accept one format, erroneously interpreting the non-favored format. You may need to rebuild all your libraries and DLLs if you wish to debug fully under those debuggers.