Tk Source Code

View Ticket
Login
Ticket UUID: 2229999
Title: Tk doesn't compile on HP-UX any more
Type: Bug Version: obsolete: 8.6a4
Submitter: jan.nijtmans Created on: 2008-11-06 15:32:16
Subsystem: 84. Unix Build Assigned To: dkf
Priority: 7 High Severity:
Status: Closed Last Modified: 2014-03-13 09:16:45
Resolution: Fixed Closed By: dkf
    Closed on: 2008-11-06 16:30:01
Description:
When compiling Tk on HP-UX, it doesn't compile any more.

The reason is that 3 files now contain the "inline"
'keyword', which is not available in the HP-UX
compiler. The offending files are:

unix/tkUnixEmbed.c
generic/tkBusy.c
generic/tkCanvas.c

removing the 'inline' keywords, or compiling with
-Dinline= fixes this.

Regards,
       Jan Nijtmans
User Comments: dgp added on 2008-11-06 23:32:51:
Use INLINE defined in tcl.h ?

dkf added on 2008-11-06 23:30:01:
There's a standard autoconf-ism to fix this - AC_C_INLINE - so used it.