Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Build breaks because of gcc error

Closed / Fixedd2612a2fa193196787aab33bb57f69b1eef9e30cCreated 9 years agoUpdated 9 years ago
Descriptionplain2017-08-22 09:53:34
The tcl release 8.6.7, as shipped from https://prdownloads.sourceforge.net/tcl/tcl8.6.7-src.tar.gz doesn't build on CentOS 6.9. Build stops in 
tcl8.6.7/unix/tclUnixSock.c with

tcl8.6.7/unix/tclUnixSock.c: In function ‘IPv6AddressNeedsNumericRendering’:
tcl8.6.7/unix/tclUnixSock.c:716: error: #pragma GCC diagnostic not allowed inside functions
tcl8.6.7/unix/tclUnixSock.c:717: error: #pragma GCC diagnostic not allowed inside functions
tcl8.6.7/unix/tclUnixSock.c:719: error: #pragma GCC diagnostic not allowed inside functions
make: *** [tclUnixSock.o] Error 1

gcc --version:

gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-18)
Referenced by2
jan.nijtmansplain2017-08-22 12:41:08
Should be fixed now in core-8-6-branch and trunk.

Thanks for your report!
Log in (anonymous is fine) to add a comment.