Overview
| Artifact ID: | b6eeaaf827786fea5198672e7db2806d00be623d26625b51c8f4c445a1bff337 |
|---|---|
| Ticket: | 36bcf04a704a22f3578ea0d93e0401eb5d0afcb3
Pointer size warnings when compiling on a 32-bit machine |
| User & Date: | chrstphrchvz on 2023-08-10 11:45:06 |
Changes
- icomment:
The warning is about how C considers pointers to different integer types to be incompatible, regardless of whether the types have the same size. <tt>TCL_SIZE_MAX == INT_MAX</tt> does not necessarily mean <tt>Tcl_Size</tt> is <tt>int</tt>. Using a temporary <tt>int</tt> avoids the warning; see attached patch.
- login: "chrstphrchvz"
- mimetype: "text/x-fossil-wiki"