Announcement

Collapse
No announcement yet.

Linux Lands And Then Reverts Usage Of Flexible Array Members

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Linux Lands And Then Reverts Usage Of Flexible Array Members

    Phoronix: Linux Lands And Then Reverts Usage Of Flexible Array Members

    As a change past the Linux 5.8 merge window now that the flurry of code activity has settled down was changing the use of zero-length arrays in structs with flexible array members. Linus Torvalds did pull the change into Linux 5.8 but then decided shortly afterwards to drop the change at least for the time being...

    http://www.phoronix.com/scan.php?pag...e-Array-Member

  • #2
    Dare i say 'inb4 joke about flexible members'

    Apologies, it's the hypoxia.

    Comment


    • #3
      So the Linux codebase is standardized to C99 now? Is there anywhere that actively documents what standards the project works towards? Like this C standard and the line character length that got changed recently.

      Comment


      • #4
        Originally posted by oxwivi View Post
        So the Linux codebase is standardized to C99 now? Is there anywhere that actively documents what standards the project works towards? Like this C standard and the line character length that got changed recently.
        C90 + some C99 according to: https://www.kernel.org/doc/html/late...-language.html

        Comment


        • #5
          Originally posted by ldesnogu View Post
          Isn't this just a tiny bit old? Who's going to build the latest kernel on 20~30 years old compiler?

          Comment


          • #6
            Originally posted by kravemir View Post

            Isn't this just a tiny bit old? Who's going to build the latest kernel on 20~30 years old compiler?
            nobody will do it because kernel wouldn't compile. it requires gcc 4.8 ( https://www.kernel.org/doc/html/late...s/changes.html )
            Last edited by pal666; 06-16-2020, 10:17 PM.

            Comment

            Working...
            X