diff options
author | jbeich <jbeich@FreeBSD.org> | 2018-01-26 23:16:48 +0800 |
---|---|---|
committer | Koop Mast <kwm@rainbow-runner.nl> | 2018-02-04 06:29:38 +0800 |
commit | a117461eff677c4bed54e831738298b0bae65a0f (patch) | |
tree | 7e0d4993e0b318562426b284fd0c58a56a5edaa5 /mail/tmda | |
parent | 7fefbebf7c322bbe977955574d39bd7b43490a2a (diff) | |
download | freebsd-ports-gnome-a117461eff677c4bed54e831738298b0bae65a0f.tar.gz freebsd-ports-gnome-a117461eff677c4bed54e831738298b0bae65a0f.tar.zst freebsd-ports-gnome-a117461eff677c4bed54e831738298b0bae65a0f.zip |
games/xevil: unbreak build with Clang 6 (C++14 by default)
libc++ doesn't like "using namespace std" in C++11
role.cpp:656:62: error: invalid operands to binary expression ('__bind<int &, sockaddr *, unsigned long>' and 'int')
if (bind(udpSock,(CMN_SOCKADDR *)&client,sizeof(client)) >= 0) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
role.cpp:1829:70: error: invalid operands to binary expression ('__bind<int &, sockaddr *, unsigned long>' and 'int')
if (bind(tcpSock, (CMN_SOCKADDR *)&serverAddr, sizeof(serverAddr)) < 0) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
role.cpp:1836:70: error: invalid operands to binary expression ('__bind<int &, sockaddr *, unsigned long>' and 'int')
if (bind(udpSock, (CMN_SOCKADDR *)&serverAddr, sizeof(serverAddr)) < 0) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
serverping.cpp:173:60: error: invalid operands to binary expression ('__bind<int &, sockaddr *, unsigned long>' and 'int')
if (bind(udpSock,(CMN_SOCKADDR *)&client,sizeof(client)) < 0) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
Reported by: pkg-fallout
Diffstat (limited to 'mail/tmda')
0 files changed, 0 insertions, 0 deletions