You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is not possible to compile minizip\test\test.c with MS VS 2017 because of numerouse errors of same type: error C3688: invalid literal suffix 'PRId32'; literal operator or literal operator template 'operator ""PRId32' not found
It seems the C++ compiler can't properly handle lines like:
Adding spaced around PRId32 and PRId64 (to separate the tokens) resolves the issue.
It seems the problems is specific to C++ compiler, because similar fragments in other C-files are compiled fine (by C compiler).
The error happens when file is included (in a C++ file) this way:
extern "C"
{
#include <minizip/test/test.c>
}
The text was updated successfully, but these errors were encountered:
Anton-V-K
changed the title
error C3688: invalid literal suffix 'PRId32'; literal operator or literal operator template 'operator ""PRId32' not found
error C3688: invalid literal suffix 'PRId32'
Sep 8, 2019
It is not possible to compile
minizip\test\test.c
with MS VS 2017 because of numerouse errors of same type:error C3688: invalid literal suffix 'PRId32'; literal operator or literal operator template 'operator ""PRId32' not found
It seems the C++ compiler can't properly handle lines like:
Adding spaced around
PRId32
andPRId64
(to separate the tokens) resolves the issue.It seems the problems is specific to C++ compiler, because similar fragments in other C-files are compiled fine (by C compiler).
The error happens when file is included (in a C++ file) this way:
The text was updated successfully, but these errors were encountered: