Tcl Library Source Code

Ticket Change Details
Login
Overview

Artifact ID: 8c9e395dcd4fd863cad78708cc8ed9c8caf1f77746363931694ae12e573c5e64
Ticket: e70a9c8db99954e53888b7c7cc9abac3b6e4a2bf
json.tab.c: redefinition of typedef 'YYSTYPE'
User & Date: jmroot 2025-02-16 20:30:55
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. comment changed to:
    The file json.tab.c contains two instances of "typedef union YYSTYPE YYSTYPE;", which is an error in C standards prior to C11:
    
    json.tab.c:136:23: error: redefinition of typedef 'YYSTYPE' is invalid in C [-Wtypedef-redefinition]
    typedef union YYSTYPE YYSTYPE;
                          ^
    
    Specifically encountered on macOS using an older Xcode clang version that defaults to C99.
    
  4. foundin changed to: "2.0"
  5. is_private changed to: "0"
  6. login: "jmroot"
  7. mimetype: "text/x-fossil-plain"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "76145175b6ffee50eff3d492ff299da342ff102d"
  10. resolution changed to: "None"
  11. severity changed to: "Severe"
  12. status changed to: "Open"
  13. submitter changed to: "jmroot"
  14. subsystem changed to: "json"
  15. title changed to: "json.tab.c: redefinition of typedef 'YYSTYPE'"
  16. type changed to: "Bug"