URL: <http://savannah.gnu.org/bugs/?42246>
Summary: 4.2.1 regression: compile error with Sun Studio 12 on Solaris 10 Project: GNU Screen Submitted by: macwhiz Submitted on: Wed 30 Apr 2014 02:43:28 PM GMT Category: Build/Install Severity: 3 - Normal Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Release: 4.2.1 Fixed Release: None Planned Release: None Work Required: None _______________________________________________________ Details: screen 4.2.1 introduces a regression related to bug #27990. It does not compile on Solaris 10 using Sun Studio 12. That bug was marked as closed and fixed in release 4.1.0. However, the relevant code has changed, and the exact error is not the same: /opt/SUNWspro/SUNWspro/bin/cc -c -I. -I. -DETCSCREENRC='"/usr/local/etc/screenrc"' -DSCREENENCODINGS='"/usr/local/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \ -fast -m64 -xarch=sparc -xchip=generic -xcache=generic socket.c /bin/sh: git: not found "socket.c", line 990: warning: assignment type mismatch: pointer to char "=" pointer to struct msg {int protocol_revision, int type, array[1024] of char m_tty, union {..} m} "socket.c", line 994: undefined struct/union member: msg_controllen "socket.c", line 995: undefined struct/union member: msg_control "socket.c", line 995: warning: improper pointer/integer combination: op "=" "socket.c", line 1007: improper member use: msg_controllen "socket.c", line 1010: warning: implicit function declaration: CMSG_FIRSTHDR "socket.c", line 1010: warning: improper pointer/integer combination: op "=" "socket.c", line 1010: warning: implicit function declaration: CMSG_NXTHDR "socket.c", line 1010: warning: improper pointer/integer combination: op "=" "socket.c", line 1016: warning: implicit function declaration: CMSG_DATA "socket.c", line 1018: warning: implicit function declaration: CMSG_LEN "socket.c", line 1791: warning: implicit function declaration: CMSG_SPACE "socket.c", line 1801: undefined struct/union member: msg_control "socket.c", line 1801: warning: improper pointer/integer combination: op "=" "socket.c", line 1802: undefined struct/union member: msg_controllen "socket.c", line 1803: warning: improper pointer/integer combination: op "=" "socket.c", line 1807: warning: improper pointer/integer combination: arg #2 "socket.c", line 1808: improper member use: msg_controllen cc: acomp failed for socket.c gmake: *** [socket.o] Error 2 _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?42246> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/