Tk Source Code

View Ticket
Login
Ticket UUID: 220538
Title: Cannot compile on HP-UX 10.20
Type: Bug Version: final: 8.1.1
Submitter: welch Created on: 2000-10-31 23:44:09
Subsystem: 84. Unix Build Assigned To: nobody
Priority: 2 Severity:
Status: Closed Last Modified: 2001-03-23 10:03:58
Resolution: Fixed Closed By: dgp
    Closed on: 2001-03-23 03:03:58
Description:
OriginalBugID: 2222 Bug
Version: 8.1.1
SubmitDate: '1999-06-15'
LastModified: '1999-10-29'
Severity: CRIT
Status: Released
Submitter: techsupp
ChangedBy: hobbs
RelatedBugIDs: 2221
OS: HP-UX
OSVersion: 10.20
Machine: Other
FixedDate: '1999-10-29'
FixedInVersion: 8.2.1


Name:
Hank van Bekkem

ReproducibleScript:
1. cc: "../generic/../unix/tkUnixPort.h", line 94: warning 525:
       Redeclaration of identifier "fd_mask".
       - Uncomment line 94 of ../unix/tkUnixPort.h
    2. cc: "../generic/tkEvent.c", line 424: error 1705: Function prototypes
       are an ANSI feature.
       - Could only get it to compile by adding compiler option "-Aa" for
         this file.
    3. cc: "../generic/tkSelect.c", line 914: error 1705: Function
       prototypes are an ANSI feature.
       - Could only get it to compile by adding compiler option "-Aa" for
         this file.



Headers were fixed in 8.2.1, and compiles fine on HP 10.20.
gcc is recommended, as the default compiler for HP is not ANSI
compliant (although it will work). 
-- 10/21/1999 hobbs