TEA (tclconfig) Source Code

Ticket Change Details
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

Artifact ID: fdb90fd1f8dfe0dd2e63d935bcc5e5c095f915dc24cfe64262fd7363646492d1
Ticket: 0d56ddedbebef31d6ed5f86f5d3c5816edae8f56
CFLAGS broken at configure time
User & Date: pooryorick 2018-08-13 05:04:24

  1. Change assignee to "nobody"
  2. Change closer to "nobody"
  3. Change cmimetype to "text/x-fossil-wiki"
  4. Change comment to:

    autoconf uses CFLAGS at configure time when performing many checks. However, tcl.m4 adds the strings ${CFLAGS_DEFAULT} and ${CFLAGS_WARNING}. Because of this, any autoconf test that passes CFLAGS to the compiler at runtime fails. One example is AC_TYPE_OFF_T. On a Linux system this test currently fails, and autoconf erroneously configures the build as if there was no such type available. In one extension this leads to the error,

    <command-line>: error: two or more data types in declaration specifiers
  5. Change is_private to "0"
  6. Change login to "pooryorick"
  7. Change priority to "5 Medium"
  8. Change resolution to "None"
  9. Change severity to "Minor"
  10. Change status to "Open"
  11. Change submitter to "pooryorick"
  12. Change subsystem to "70. Sample Extension"
  13. Change title to "CFLAGS broken at configure time"
  14. Change type to "Bug"