{"push_id":1303188158,"size":1,"distinct_size":1,"ref":"refs/heads/nougat","head":"fad1749898f672082a79426ec7ce95adf0af011f","before":"86bdb1133f61e9cd8ccb544d433f1bf10b4493c7","commits":[{"sha":"fad1749898f672082a79426ec7ce95adf0af011f","author":{"name":"monteship","email":"d6aebaed29b1db4bc2504ec9f04019a058b2fb97@gmail.com"},"message":"Update Makefile\n\nkernel: use the gnu89 standard explicitly\r\nSasha Levin reports:\r\n \"gcc5 changes the default standard to c11, which makes kernel build\r\n  unhappy\r\n\r\n  Explicitly define the kernel standard to be gnu89 which should keep\r\n  everything working exactly like it was before gcc5\"\r\n\r\nThere are multiple small issues with the new default, but the biggest\r\nissue seems to be that the old - and very useful - GNU extension to\r\nallow a cast in front of an initializer has gone away.\r\n\r\nPatch updated by Kirill:\r\n \"I'm pretty sure all gcc versions you can build kernel with supports\r\n  -std=gnu89.  cc-option is redunrant.\r\n\r\n  We also need to adjust HOSTCFLAGS otherwise allmodconfig fails for me\"\r\n\r\nNote by Andrew Pinski:\r\n \"Yes it was reported and both problems relating to this extension has\r\n  been added to gnu99 and gnu11.  Though there are other issues with the\r\n  kernel dealing with extern inline have different semantics between\r\n  gnu89 and gnu99/11\"\r\n\r\nEnd result: we may be able to move up to a newer stdc model eventually,\r\nbut right now the newer models have some annoying deficiencies, so the\r\ntraditional \"gnu89\" model ends up being the preferred one.\r\n\r\nSigned-off-by: Sasha Levin <sasha.levin@oracle.com>\r\nSinged-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>\r\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>\r\n\r\nConflicts:\r\n\tMakefile","distinct":true,"url":"https://api.github.com/repos/monteship/hammerhead_nkernel/commits/fad1749898f672082a79426ec7ce95adf0af011f"}]}
{"actor":{"display_login":"monteship"}}