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

identifier "L__func__" is undefined

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