Artifacts Associated With Ticket 218662ffffffffff
Ticket change [7e78015dd6] (rid 97414) by nobody on 2000-10-26 01:03:50:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 1634 Bug Version: 8.1b2 SubmitDate: '1999-03-25' LastModified: '1999-04-05' Severity: LOW Status: Released Submitter: pat ChangedBy: redman OS: Linux-Red Hat OSVersion: Redhat 4.2 Machine: Other FixedDate: '1999-04-05' FixedInVersion: 8.1b3 ClosedDate: '2000-10-25' Name: Jan Nijtmans ReproducibleScript: Compile Tcl8.1b2 on Linux with gcc 2.7.2.1 ObservedBehavior: warning message: "const" keyword ignored. (I didn't write down the exact error-message). The most logical solution is to make the variable "native" a CONST char*. That removes the warning. Patch: *** unix/tclUnixSock.c.origThu Mar 25 21:35:34 1999 --- unix/tclUnixSock.cThu Mar 25 21:36:58 1999 *************** *** 71,77 **** #else char buffer[sizeof(hostname)]; #endif ! char *native; Tcl_MutexLock(&hostMutex); if (hostnameInited) { --- 71,77 ---- #else char buffer[sizeof(hostname)]; #endif ! CONST char *native; Tcl_MutexLock(&hostMutex); if (hostnameInited) { PatchFiles: tclUnixSock.c 04/05/1999 18:03 - redman - Already done. - foundin initialized to: "obsolete: 8.1b2"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "10. Objects"
- title initialized to: "Warning when compiling tclUnixSock.c"
- type initialized to: "Bug"
Ticket change [9285f9ee78] (rid 120772) by welch on 2000-10-26 08:26:11:
- closedate changed to: "2000-10-26T01:26:11"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"