Skip to content
Tcl Source Code History Of Ticket 1699195fffffffff
Login

History Of Ticket 1699195fffffffff

Artifacts Associated With Ticket 1699195fffffffff

  1. Ticket change [43dacb9516] (rid 116630) by twylite on 2007-04-12 12:47:33:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized 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 initialized to: "obsolete: 8.5a6"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "twylite"
    10. subsystem initialized to: "53. Configuration and Build Tools"
    11. title initialized to: "Remove -WX from symbols build in Win32 makefile.vc"
    12. type initialized to: "Bug"
  2. Ticket change [83f3e10278] (rid 117463) by dkf on 2007-04-12 20:05:37:

    1. assignee changed to: "hobbs"
  3. Ticket change [965f1c037b] (rid 106315) by patthoyts on 2007-04-16 17:39:08:

    1. assignee changed to: "patthoyts"
    2. closedate changed to: "2007-04-16T10:39:08"
    3. closer changed to: "patthoyts"
    4. icomment:
      Logged In: YES 
      user_id=202636
      Originator: NO
      
      No. People who build tcl with symbols should already know enough to either fix or report such issues to the tcl developers. The idea is to flag as many bits of dodgy code as possible. If you find it to be a problem you can of course remove the -WX flag from your makefile but having it there serves to force errors to be fixed quite quickly.
      There is a better argument for removing the flag from the extension building version of this makefile but again -- people who need symbols are just the ones we would like to see submitting patches to solve the warnings.
      
      
    5. login: "patthoyts"
    6. mimetype: "text/plain"
    7. resolution changed to: "Rejected"
    8. status changed to: "Closed"
    9. username: "patthoyts"