Share via


How to resolve "error C3688: invalid literal suffix '__LPREFIX'; literal operator or literal operator template 'operator ""__LPREFIX' not found"

Question

Tuesday, November 25, 2014 12:52 PM

Hi All,

Could anyone help me to resolve the following error in Visual Studio 2014,

error C3688: invalid literal suffix '__LPREFIX'; literal operator or literal operator template 'operator ""__LPREFIX' not found.

note: Did you forget a space between the string literal and the prefix of the following string literal?

Thanks in Advance.

Regards,

Prasad

Mahaveer Prasad

All replies (2)

Monday, December 1, 2014 2:30 AM âś…Answered

Hi Prasad,

Just to make this issue clearly, does it work well in other VS machine? It seems that it is your code issue.

If it is the VC++ development issue, I suggest you post this issue to the VC++ forum:

https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vcgeneral

I also did some research about this issue, is it similar to this connect report?

https://connect.microsoft.com/VisualStudio/feedback/details/1039131/debug-error

If it is similar to your issue, you could vote it, I think you could get useful information from connect report experts.

Please also check that whether it is related to project property settings:

https://connect.microsoft.com/VisualStudio/feedback/details/999391/uint16-max-generates-error-c3688-invalid-literal-suffix-ui16

Actually we didn't support the VS2014, as far as I know, it has the latest VS2015 Preview version, you could test it with this version. Since it is not the RTM version, that's the reason why we don't support it now. But as least we could make sure that whether it is the IDE issue or the project itself.

Best Regards,

Jack

We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.


Wednesday, December 10, 2014 6:37 AM | 2 votes

Please remove Token Pasting Operator (##) in macro definition. And give the space between two literals.

Regards

Rajesh