Re: Three patches for 0.9.14
Shiro Kawai <[email protected]> Thu, 4 Apr 2024 16:34:53 -1000
| Newsgroups | gmane.lisp.scheme.gauche |
|---|---|
| Message-ID | <CALN0JNGS3u5YisHBaTz3TfMLS6S5uMDtPa-zoGfomcDF5pJYKQ@mail.gmail.com> |
Thanks, I realized we already checked the existence of stdalign.h, so we can assume availability of _Alignas if the header exists. On Thu, Apr 4, 2024 at 3:08 PM NIIBE Yutaka <[email protected]> wrote: > Hello, again, > > Shiro Kawai <[email protected]> wrote: > > I applied the fixes and pushed the commits. > > Thank you for your quick work. > > > After I submitted the patches, I leaned that C11 supports "_Alignas" in > the declaration syntax. Similarly, C23 has "alignas". > > https://en.cppreference.com/w/c/language/_Alignas > > So, if/when needed for some newer compilers other than GCC, use of > "_Alignas" or "alignas" would be good. > > I checked autoconf and autoconf-archive for checking the feature, but I > haven't found any existing macro for that. > > > And I found that signed integer overflow is specifically addressed in > the GNU C Reference Manual: > > https://www.gnu.org/software/gnu-c-manual/gnu-c-manual.html#Overflow > > I learned that it's from the Autoconf manual. > > > It's fun to see there are still things to learn in the language (or any > languages). Well, it's a season to start something in Japan. I just > bought the textbook of NHK radio program for Chinese language. > -- > _______________________________________________ Gauche-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gauche-devel