You copied the Doc URL to your clipboard.

The strict family of linker options

The linker provides options to overcome the limitations of the standard linker checks.

The strict options are not directly related to error severity. Usually, you add a strict option because the standard linker checks are not precise enough or are potentially noisy with legacy objects.

The strict options are:

  • --strict.

  • --[no_]strict_enum_size.

  • --[no_]strict_flags.

  • --[no_]strict_ph.

  • --[no_]strict_relocations.

  • --[no_]strict_symbols.

  • --[no_]strict_visibility.

  • --[no_]strict_wchar_size.