Check-in [78c4a75826]

Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Minor TIP #476 update. Fix two executable flags (which shouldn't be there) and update TIP index.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 78c4a75826078a744b9fb53afe25ee58335f2f298a4f07ea86033b07fd4f7085
User & Date: jan.nijtmans 2017-10-19 08:03:13
Context
2017-10-19
12:02
More TIP #476 updates. Add example "main.c". check-in: aecd24127d user: jan.nijtmans tags: trunk
08:03
Minor TIP #476 update. Fix two executable flags (which shouldn't be there) and update TIP index. check-in: 78c4a75826 user: jan.nijtmans tags: trunk
2017-10-18
14:57
Use a format that renders significant newlines right. check-in: d05f844563 user: dkf tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to index.md.

38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<td valign='top'>Draft</td>
<td valign='top'>Add expected class level behaviors to oo::class</td>
</tr>
<tr>
<td valign='top'><a href='./tip/477.md'>477</a></td>
<td valign='top'>Process</td>
<td valign='top'>-</td>
<td valign='top'>Draft</td>
<td valign='top'>Modernize the nmake-based build system</td>
</tr>
<tr>
<td valign='top'><a href='./tip/476.md'>476</a></td>
<td valign='top'>Project</td>
<td valign='top'>8.7</td>
<td valign='top'>Draft</td>
<td valign='top'>Scan/Printf format consistancy</td>







|
|







38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<td valign='top'>Draft</td>
<td valign='top'>Add expected class level behaviors to oo::class</td>
</tr>
<tr>
<td valign='top'><a href='./tip/477.md'>477</a></td>
<td valign='top'>Process</td>
<td valign='top'>-</td>
<td valign='top'>WIP</td>
<td valign='top'>Modernize the nmake build system</td>
</tr>
<tr>
<td valign='top'><a href='./tip/476.md'>476</a></td>
<td valign='top'>Project</td>
<td valign='top'>8.7</td>
<td valign='top'>Draft</td>
<td valign='top'>Scan/Printf format consistancy</td>

tip/454.md became a regular file.

Changes to tip/476.md.

32
33
34
35
36
37
38
39
40



41
42
43




44
45
46
47
48
49
50

This TIP proposes serveral things:

   *   Whenever possible, typedef Tcl_WideInt to be equal to long long, even
       on platforms where long has the same size as long long.

   *   Document the already existing TCL\_LL\_MODIFIER macro to be equivalent
       to "ll" whenever possible. This can be used to format/scan variables
       of type Tcl\_WideInt/Tcl\_WideUInt.




   *   Add a new TCL\_Z\_MODIFIER macro to be equivalent to "z" whenever possible.
       This can be used to format/scan variables of type size_t.





   *   Adapt the %#o modifier (TODO: explain)

   *   Adapt the %#d modifier (TODO: explain)

# Considerations regarding the incompatibility








|
|
>
>
>


|
>
>
>
>







32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57

This TIP proposes serveral things:

   *   Whenever possible, typedef Tcl_WideInt to be equal to long long, even
       on platforms where long has the same size as long long.

   *   Document the already existing TCL\_LL\_MODIFIER macro to be equivalent
       to "ll" whenever possible. This is used already to format/scan variables
       of type Tcl\_WideInt/Tcl\_WideUInt, but now it can be used also for
       variables of type long long or \_\_int64 (Windows). The obligation to
       use Tcl\_WideInt/Tcl\_WideUInt in extensions (enforced by compiler
       warnings) is now gone: Most compilers understand "long long" now.

   *   Add a new TCL\_Z\_MODIFIER macro to be equivalent to "z" whenever possible.
       This can be used to format/scan variables of type size\_t or ptrdiff\_t.
       If your compiler is ISO C99-compatible, you can use "z" resp "t" instead.

   *   No longer let the "%llu" format generate an error if the formatted number
       is positive.

   *   Adapt the %#o modifier (TODO: explain)

   *   Adapt the %#d modifier (TODO: explain)

# Considerations regarding the incompatibility

tip/478.md became a regular file.