-Qvtp: Qualifier for Virtual Table Pointers

Group

CODE GENERATION

Scope

Application

Syntax
  -Qvtp(none|far|near|paged)
  
  
Arguments

None

Default
  -Qvptnone
  
  
Defines

None

Pragmas

None

Description

Using a virtual function in C++ requires an additional pointer to virtual function tables. This pointer is not accessible and is generated by the compiler in every class object when virtual function tables are associated.

Note: Specifying an unsupported qualifier has no effect, e.g., using a far qualifier if the Backend or CPU does not support any __far data accesses.
Example
  -QvtpFar
  
  

This sets the qualifier for virtual table pointers to __far enabling the virtual tables to be placed into a __FAR_SEG segment (if the Backend or CPU supports __FAR_SEG segments).