C1XX -Binl

Syntax

This option has no arguments. It is -Binl only.

This option is not recognised on the CL command line, but can be passed to C1XX through the CL /d1 option, giving Binl as its argument.

Behaviour

The identifier __thiscall is always a keyword to the C++ compiler, but it is ordinarily disabled, such that it causes a warning (C4234) about being “reserved for future use”. The -Binl option stops __thiscall from being disabled. The keyword is then available, and even useful, for explicit specification that a member function has the __thiscall calling convention.

Another use, though surely rare in practice, is for calling a function that is known to require the __thiscall convention but whose class membership is unknown or arbitrary.