Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.
Announcements
The Intel sign-in experience is changing in February to support enhanced security controls. If you sign in, click here for more information.
7749 Discussions

How to pass options directly to the front end?

mas912
Beginner
180 Views

Subj. Or how to enable the "--uliterals" EDG front end option.

Cheers

0 Kudos
3 Replies
Om_S_Intel
Employee
180 Views

This option does not seem to be supported by Intel compiler. You may try /Qoption,cpp,"--uliterals" to the Intel C++ compiler front end.
mas912
Beginner
180 Views

Thanks!

It seems that unicode literals are supported, but char16_t/char32_t as keywords are not:

template void show_type(T);

void test()
{
char16_t u = u'1'; // char16t is undefined
show_type(u'1'); // unsigned short
show_type(U'1'); // unsigned long
}

JenniferJ
Moderator
180 Views
As of 11.1 release, those new types (char16_t etc) are not supported, yet.

We're aware of them though and will support those new types/features in the future.

Jennifer
Reply