Subject: | Compilation failure (C vs. C++?) |
Compilation fails on most of my smoker systems:
...
g++ -c -I. -x c -O2 -fPIC "-I/opt/perl-5.22.4/lib/5.22.4/x86_64-linux/CORE" udp_proxy.c
udp_proxy.xs:115:1: error: unknown type name 'class'
class udp_proxy {
^~~~~
udp_proxy.xs:115:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
class udp_proxy {
^
... etc ...