-Wmsg8x3: Cut File Names in Microsoft Format to 8.3

Group

MESSAGES

Scope

Compilation Unit

Syntax
  -Wmsg8x3 
  
Arguments

None

Default

None

Defines

None

Pragmas

None

Description

Some editors (e.g., early versions of WinEdit) expect the filename in the Microsoft message format (8.3 format). That means the filename can have, at most, eight characters with not more than a three-character extension. Longer filenames are possible when you use later versions of Windows. This option truncates the filename to the 8.3 format.

Example

x:\mysourcefile.c(3): INFORMATION C2901: Unrolling loop

With the -Wmsg8x3 option set, the above message is:

x:\mysource.c(3): INFORMATION C2901: Unrolling loop

See also

-WmsgFi (-WmsgFiv, -WmsgFim): Set Message Format for Interactive Mode

-WmsgFb (-WmsgFbi, -WmsgFbm): Set Message File Format for Batch Mode