Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
81 Views

illegal character .. compiler error

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
Highlighted
Moderator
46 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


0 Kudos
Highlighted
Moderator
22 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


0 Kudos
Highlighted
Beginner
19 Views

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

 

Thanks

 

Frank

0 Kudos
Highlighted
Moderator
14 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


0 Kudos