Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7954 Discussions

identifier "L__func__" is undefined

Polar01
Beginner
328 Views
Hi,
I contact you because in my software I have a strange bug that I'm unable to fix, I have several times the following message :
Error 17 error: identifier "L__func__" is undefined C:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\include\\xlocale 2172
It occur in the file 'xlocale', each time we use _SCL_SECURE_ALWAYS_VALIDATE_RANGE.
I have this problem with the 'debug' configuration but not the 'release' config !
Really, I'm searching for a solution but without success, so if you can help me ?
Thanks
0 Kudos
1 Reply
JenniferJ
Moderator
328 Views

Please post the build options here. the "xlocale" should not be used explicitly. You should use "locale" instead. When using "#include ", it compiles ok for me.

Jennifr

0 Kudos
Reply