Opened 6 years ago
Last modified 6 years ago
#5237 assigned defect
Fails to build: invalid operands to binary expression ('__bind<int &, sockaddr *, unsigned long>' and 'int') — at Initial Version
Reported by: | Owned by: | somebody | |
---|---|---|---|
Priority: | high | Milestone: | Future |
Component: | Build Environment | Version: | |
Keywords: | Cc: |
Description
c++ -DCMAKE_Fortran_COMPILER=gfortran7 -DPF_INET=AF_INET -DFLT_MAX=INFINITY -fPIC -O2 -pipe -fno-omit-frame-pointer -fPIC -DLIBICONV_PLUG -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -fno-stack-protector -O2 -pipe -fno-omit-frame-pointer -fPIC -DLIBICONV_PLUG -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -fno-omit-frame-pointer -DLIBICONV_PLUG -isystem /usr/local/include -c src/netstream-socket.cpp -o obj/netstream-socket.o src/netstream-socket.cpp:260:69: error: invalid operands to binary expression ('__bind<int &, sockaddr *, unsigned long>' and 'int') if ( bind(server_socket_, (struct sockaddr*)&self, sizeof(self)) != 0 ) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
1.14.0-dev
FreeBSD 11.2 amd64
clang-60
Note:
See TracTickets
for help on using tickets.