<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/include/ruby/internal, branch v3_4_5</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>merge revision(s) b42afa1dbcbb91e89852b3b3bc72484d7f0a5528, f1f0cc14cc7d3f9be35b203e5583f9224b1e2387, 543e3a1896ae2fe3b5b954f6497d261ab5663a15, ed2806117a0b76e4439ce1a061fae21d9e116d69, 46e4c8673747de96838d2c5dec37446d23d99d88: [Backport #21500]</title>
<updated>2025-07-14T21:50:56+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2025-07-14T21:50:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=596126ee5aa35a65bcaca60b92b5547ef1a9d2da'/>
<id>596126ee5aa35a65bcaca60b92b5547ef1a9d2da</id>
<content type='text'>
	Suppress gcc 15 unterminated-string-initialization warnings

	Separate `__has_attribute` from `defined(__has_attribute)`

	Fix Visual C warnings:
	```
	regenc.h(121): warning C4067: unexpected tokens following preprocessor directive - expected a newline
	```

	Cast up `int` instruction code to `VALUE`

	Fix Visual C warnings:
	```
	iseq.c(3793): warning C4312: 'type cast': conversion from 'int' to 'void *' of greater size
	iseq.c(3794): warning C4312: 'type cast': conversion from 'int' to 'void *' of greater size
	```

	Do not let files depend on a phony target

	Detect `clock_gettime` and `clock_getres` for winpthreads
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	Suppress gcc 15 unterminated-string-initialization warnings

	Separate `__has_attribute` from `defined(__has_attribute)`

	Fix Visual C warnings:
	```
	regenc.h(121): warning C4067: unexpected tokens following preprocessor directive - expected a newline
	```

	Cast up `int` instruction code to `VALUE`

	Fix Visual C warnings:
	```
	iseq.c(3793): warning C4312: 'type cast': conversion from 'int' to 'void *' of greater size
	iseq.c(3794): warning C4312: 'type cast': conversion from 'int' to 'void *' of greater size
	```

	Do not let files depend on a phony target

	Detect `clock_gettime` and `clock_getres` for winpthreads
</pre>
</div>
</content>
</entry>
<entry>
<title>Include stdbool.h without checking with autoconf</title>
<updated>2025-05-22T16:21:10+00:00</updated>
<author>
<name>Alan Wu</name>
<email>XrXr@users.noreply.github.com</email>
</author>
<published>2025-05-20T15:58:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ca1ea9578485c27daac1e16107cb48551a58d8ad'/>
<id>ca1ea9578485c27daac1e16107cb48551a58d8ad</id>
<content type='text'>
As reported in &lt;https://bugs.ruby-lang.org/issues/21340&gt;, older autoconf
have an AC_HEADER_STDBOOL that's incompatible with C23. Autoconf 2.72
fixed the macro, but also mentions that it's obsolescent since all
current compilers have this header.

Since we require C99 [1] and VS 2015 [2], should be able take
that suggestion and include stdbool.h without a check. This worked
fine on rubyci.org.

[Backport #21340]

[1]: https://bugs.ruby-lang.org/issues/15347
[2]: https://bugs.ruby-lang.org/issues/19982
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As reported in &lt;https://bugs.ruby-lang.org/issues/21340&gt;, older autoconf
have an AC_HEADER_STDBOOL that's incompatible with C23. Autoconf 2.72
fixed the macro, but also mentions that it's obsolescent since all
current compilers have this header.

Since we require C99 [1] and VS 2015 [2], should be able take
that suggestion and include stdbool.h without a check. This worked
fine on rubyci.org.

[Backport #21340]

[1]: https://bugs.ruby-lang.org/issues/15347
[2]: https://bugs.ruby-lang.org/issues/19982
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix C23 (GCC 15) WIN32 compatibility for rb_define_* functions</title>
<updated>2025-05-07T17:04:46+00:00</updated>
<author>
<name>Alan Wu</name>
<email>XrXr@users.noreply.github.com</email>
</author>
<published>2025-04-29T12:13:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7e44df91b6d01be68391a029997f5ccdabe80603'/>
<id>7e44df91b6d01be68391a029997f5ccdabe80603</id>
<content type='text'>
Backport [Bug #21286]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Backport [Bug #21286]
</pre>
</div>
</content>
</entry>
<entry>
<title>[Bug #21024] &lt;cstdbool&gt; header has been useless</title>
<updated>2025-02-14T01:40:19+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2025-01-14T10:11:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b5c921e01074891680b45353519a1e0bfe7c1036'/>
<id>b5c921e01074891680b45353519a1e0bfe7c1036</id>
<content type='text'>
And finally deprecated at C++-17.
Patched by jprokop (Jarek Prokop).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
And finally deprecated at C++-17.
Patched by jprokop (Jarek Prokop).
</pre>
</div>
</content>
</entry>
<entry>
<title>use RBIMPL_ATTR_MAYBE_UNUSED</title>
<updated>2024-12-18T14:37:22+00:00</updated>
<author>
<name>Naohisa Goto</name>
<email>ngotogenome@gmail.com</email>
</author>
<published>2024-12-18T14:37:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=528ec7060464d30359e593055df6b53362cd1060'/>
<id>528ec7060464d30359e593055df6b53362cd1060</id>
<content type='text'>
The macro MAYBE_UNUSED, prepared by ./configure, may not be defined in
some environments such as Oracle Developer Studio 12.5 on Solaris 10.

This fixes [Bug #20963]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The macro MAYBE_UNUSED, prepared by ./configure, may not be defined in
some environments such as Oracle Developer Studio 12.5 on Solaris 10.

This fixes [Bug #20963]
</pre>
</div>
</content>
</entry>
<entry>
<title>[DOC] rb_id2name(): Note truncation danger (+minor copyediting)</title>
<updated>2024-12-18T02:50:00+00:00</updated>
<author>
<name>Alan Wu</name>
<email>alanwu@ruby-lang.org</email>
</author>
<published>2024-12-18T02:50:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=6336431a64cac606ed8fa35ed577ba37755eccfc'/>
<id>6336431a64cac606ed8fa35ed577ba37755eccfc</id>
<content type='text'>
Thanks, nobu!
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Thanks, nobu!
</pre>
</div>
</content>
</entry>
<entry>
<title>[DOC] Add note to rb_id2name about GC compaction</title>
<updated>2024-12-17T21:32:13+00:00</updated>
<author>
<name>Peter Zhu</name>
<email>peter@peterzhu.ca</email>
</author>
<published>2024-12-17T20:06:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=375fec7c53c5b32f85c05f759c080678d29a9a94'/>
<id>375fec7c53c5b32f85c05f759c080678d29a9a94</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Win32: Fix `rbimpl_size_mul_overflow` on arm64</title>
<updated>2024-12-17T11:25:06+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-11-13T05:45:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5a7a1a4a13ae11e4cef274c98e0c5bbcb7b1d192'/>
<id>5a7a1a4a13ae11e4cef274c98e0c5bbcb7b1d192</id>
<content type='text'>
`_umul128` is specific to x86_64 platform, see higher words by
`__umulh` on arm64.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`_umul128` is specific to x86_64 platform, see higher words by
`__umulh` on arm64.
</pre>
</div>
</content>
</entry>
<entry>
<title>[DOC] Update `rb_strlen_lit`</title>
<updated>2024-12-13T04:49:33+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-12-13T04:49:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=86f00c9922df4ce7c1a493ac7bd1e0eff77b8b14'/>
<id>86f00c9922df4ce7c1a493ac7bd1e0eff77b8b14</id>
<content type='text'>
It is not "in bytes" for wide char literal.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It is not "in bytes" for wide char literal.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typos in public headers [ci skip]</title>
<updated>2024-12-04T21:26:31+00:00</updated>
<author>
<name>Alan Wu</name>
<email>XrXr@users.noreply.github.com</email>
</author>
<published>2024-12-04T21:26:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c0e12bf8d2eb3ee78d6926b8d6010bbbafce97ef'/>
<id>c0e12bf8d2eb3ee78d6926b8d6010bbbafce97ef</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
