GCC 15.1 released. Many changes, some breaking.

42 views
Skip to first unread message

Tom McDermott

unread,
Apr 25, 2025, 12:02:10 PM4/25/25
to ham...@googlegroups.com
The GNU COmpiler Collection (GCC) recently released version 15.1.
A copy of the release announcement is at: https://lwn.net/ml/all/aAtlfgZQyPsfBPKA@tucnak/
 
This release changes the default C++ compiler version from C++17 to C++23.
That can be changed with a command line argument  ( -std=gnu17    for example ).

There are large number of compiler changes in this version:  https://gcc.gnu.org/gcc-15/changes.html

There is one change that may break existing code (for me at least). The syntax of function pointers
has been altered.  See  https://gcc.gnu.org/gcc-15/porting_to.html#c23 for description.

-- Tom, N5EG


Reply all
Reply to author
Forward
0 new messages