Overview
| Artifact ID: | 5fde80409a3322e5b3977d6aedf9d0d64830a3c5ab8cc7c2dab30f301739c70e |
|---|---|
| Ticket: | c29b92ec2bbb83dd1e7ddb116b09ba0f678d624a
Tcl_IncrRefCount() macro evaluates to non-void expression |
| User & Date: | chrstphrchvz on 2023-07-29 00:25:07 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed to:
The <tt>Tcl_IncrRefCount()</tt> macro definition in tcl.h evaluates to the new reference count. For correctness and consistency with the <tt>Tcl_IncrRefCount()</tt> function declaration, this should not be permitted. I suggest wrapping the macro’s expression with e.g. <tt>((void)(…))</tt>, or <tt>do {…;} while(0)</tt>. - foundin changed to: "8.6.13"
- is_private changed to: "0"
- login: "chrstphrchvz"
- priority changed to: "5 Medium"
- private_contact changed to: "6133eb3026f9b10aa9b7b48da92ae2834fc225b0"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "chrstphrchvz"
- subsystem changed to: "10. Objects"
- title changed to:
Tcl_IncrRefCount() macro evaluates to non-void expression
- type changed to: "Bug"