Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 43dacb95160b6433bbc695ceea5052975fc7eb63
Ticket: 1699195fffffffffffffffffffffffffffffffff
Remove -WX from symbols build in Win32 makefile.vc
User & Date: twylite on 2007-04-12 12:47:33
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    The MS Visual C 6 makefile.vc for Windows enables the -WX flag on a symbols build, but not on a release build.  -WX turns warnings into errors.
    
    This seems to be backwards -- it is usual to allow warnings in debug builds, but not in the release build?
    
    I suggest that -WX should be enabled in release builds, and not in symbols builds.
    
    For example, in the case of issue 1699183 (Build with symbols fails on Win32 in tclCompCmds.c) I had built a release build without problems.  Later I needed to have a debug build to troubleshoot an extension, and discovered this build problem.
    
    The -WX flag is used in a similar fashion in Tk, Threads, SampleExtension, etc.
    
    With regard to Threads and SampleExtension, see also [1689286] "nmakehlp not building on Win32 with VC" and [1689375] "Update VC makefile for Threads (Fix for bug 1643367)" for changes that affect these makefiles.
    
    
    
    
  4. foundin changed to: "obsolete: 8.5a6"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "twylite"
  10. subsystem changed to: "53. Configuration and Build Tools"
  11. title changed to: "Remove -WX from symbols build in Win32 makefile.vc"
  12. type changed to: "Bug"