In the file included the from/usr/include/x86_64 - - the gnu/Linux c + +/5/bits/c + + config. H: 482:0,
The from/usr/include/c + +/5/iostream: 38,
The from JsonProcess. CPP: 1:
The/usr/include/x86_64 - - the gnu/Linux c + +/5/bits/os_defines. H: 44:19: error: missing binary operator before token "("
# if __GLIBC_PREREQ (2, 2) & amp; & Defined (_GNU_SOURCE)
.
.
In the file included the from/usr/include/libio. H: 56:0,
The from/usr/include/stdio. H: 74,
The from JsonProcess. CPP: 2:
The/usr/include/sys/x86_64 - Linux - gnu/cdefs. H: out: error: missing binary operator before token "("
# if __GNUC_PREREQ (4, 6) & amp; & ! Defined _LIBC
.
The/usr/include/c + +/5/cwchar: 208:11: error: ': : wmemchr' from the then declared
Using: : wmemchr;
.
Remove the specified path can be compiled through. In addition, I also tried it on, in the CPP file includexxx/with json, all the header files can be
Compile, only add the -i only after making mistakes.
Why's?
CodePudding user response:
Then how to solve?CodePudding user response:
Look at the use of header files and libraries are consistent?