Intel® oneAPI Base Toolkit
Support for core tools and libraries to build and deploy high-performance data-centric applications
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
244 Discussions

illegal character .. compiler error

GIBcam
Beginner
348 Views

I just installed the oneAPI compiler (with Visual Studio 2019) and converted existing projects (with settings from Intel 19.1). But now the compiler returns errors for Unicode strings with special characters "illegal character in character literal".

Example

lpwcT = wcschr (lawcText,L'§');

Which setting should be activated for this?

Labels (1)
0 Kudos
4 Replies
PrasanthD_intel
Moderator
313 Views

Hi Frank,


To compile c/c++ programs you must install HPC toolkit along with Base Toolkit. The base toolkit does not include classic C/C++ Compiler.

Please install HPC toolkit and try. Let us know if you still face any errors.


Regards

Prasanth


PrasanthD_intel
Moderator
289 Views

Hi Frank,


We haven't heard back from you. Have you tried installing HPC toolkit?

Please let us know if you still face the error.


Regards

Prasanth


GIBcam
Beginner
286 Views

Yes, that was the purposeful hint. After the installation of the HPC everything is now running correctly.

 

Thanks

 

Frank

PrasanthD_intel
Moderator
281 Views

Hi Frank,


Thanks for the confirmation.

We are closing this thread. If you require additional assistance from Intel, please start a new thread. Any further interaction in this thread will be considered community only


Regards

Prasanth


Reply