Intel® oneAPI DPC++/C++ Compiler

Developer Guide and Reference

ID 767253
Date 6/30/2025
Public
Document Table of Contents

qactypes, Qactypes

Determines whether the compiler includes the Algorithmic C (AC) data type folder for header searches and links to the AC data types libraries for CPU compilations.

Syntax

Linux:

-qactypes

-qno-actypes

Windows:

/Qactypes

/Qactypes-

Arguments

None

Default

OFF

The compiler does not search the Algorithmic C (AC) data type folders for headers and does not link to AC data type libraries for CPU compilations. As a result, AC data types cannot be used in the source program.

Description

This option determines whether the compiler includes the Algorithmic C (AC) data type folder when searching for headers, and links to the AC data types libraries for CPU compilations.

AC data types provide support for arbitrary precision integers, fixed precision integers and arbitrary precision floating-point data types. They are built on top of the _ExtInt extended-integer type class.

When you specify option [q or Q]actypes, dynamic linking is the default. You cannot link to the AC data type libraries statically.

Linux

The driver must add the library names explicitly to the link command. You must use option -qactypes to perform the link to pull in the dependent libraries.

Windows

This option adds directives to the compiled code, which the linker then reads without further input from the driver. You do not need to specify a separate link command.

NOTE:

This option may impact target compilations because of the way it enables headers and libraries.

IDE Equivalent

None

Alternate Options

None

Examples

The following shows examples of using this option.

Linux

icpx -qactypes file.cpp

Windows

icx /Qactypes file.cpp