30-year-old Linux kernel C standard confirms upgrade, Linus: Merge to Linux 5.18 ASAP

thumbnail

Text | Director

Exhibit | (ID: oschina2013)

Some time ago, the Linux community discussed whether to adopt the modern C language standard for the kernel , and Linus also expressed his agreement to upgrade the Linux kernel C language standard from C89 to C11.

Recently, the work of upgrading the Linux kernel C language standard from C89 to C11 has made new progress.

After quickly revising the patchset target used to build the Linux kernel from "-std=gnu89" to "-std=gnu11", Linus Torvalds said he wanted to pull it into the next merge window (Linux 5.18) as soon as possible to avoid other PR uses C11 until the end.

▲ The upcoming Linux 5.18 development cycle will upgrade the C standard used to C11

Now that the kbuild-gnu11 branch of linux-kbuild is complete, it will be committed to the Linux 5.18 merge window early. If Linux 5.17 comes out on time on Sunday, that merge window will kick off next week.

The decision to upgrade the C language standard stems from discussions in the community about the migration of the Linux kernel C standard from C89 to C11 . So far, the C language for the Linux kernel still uses the old C89 standard, so community members want to upgrade to the more modern C11. Since Linux 5.15 has raised the GCC compiler version requirements to GCC 5.1, they can safely start using C11/GNU11 language features without imposing any new compiler requirements.

Google's second largest acquisition in history, Microsoft/Google/Firefox/Apple join forces to solve Web compatibility issues

The super video that dominates the list of hot searches turns out to have such a secret...

I think it's good, please click to see it

終端大師 Terminal Master

Related Posts