Open coney opened 8 years ago
yes, i encounter this error on centos 6, what‘s should we do?
When building r3 and simple_cpp.cpp
using an old compiler like g++-4.4.7
you get this build error.
It compiles just fine if you use a later GCC like 4.8 (from March 2013), so the recommendation is to use a more recent compiler.
Since CentOS 6 is EOF (End of life) since 2020 you should at least use CentOS 7, which provides g++-4.8.5
and works fine when I compared.
Are we OK with closing this issue with above recommendation?
when compiling the example
simple_cpp.cpp
, thetypedef
from pcre header causes a compile error:the code snippet from pcre.h:385: