Overview
| Artifact ID: | fb9773265fd8865dcee5b435e66964acc75c38a6e2573c6324755e84a6dc2364 |
|---|---|
| Ticket: | e5691de2eb49302428e77726a057449a06f499da
Tcl_ObjPrintf() - 'Unable to format "%p" with supplied arguments: ' |
| User & Date: | oehhar on 2018-01-23 20:26:23 |
Changes
- icomment:
Thank you for the ticket. If you read the manpage of Tcl_ObjPrintf [http://www.tcl.tk/man/tcl8.6/TclLib/StringObj.htm] It states: The formatting is done with the same core formatting engine used by Tcl_Format. This means the set of supported conversion specifiers is that of the *format* command and not that of the *sprintf* routine where the two sets differ. If you look on the *format* man page [http://www.tcl.tk/man/tcl8.6/TclCmd/format.htm], there is no "%p" as format. Pointers are not supported. Nevertheless, the provided error message might be missleading or even a bug. The format error message is: <verbatim> % format "%p" 12345 bad field specifier "p" </verbatim> I have no experience here, just reading the man page... Hope this helps, Harald
- login: "oehhar"
- mimetype: "text/x-fossil-wiki"
- username: "oehhar"