[haiku-bugs] Re: [Haiku] #13285: Incorporation of GCC 6

  • From: "mt" <trac@xxxxxxxxxxxx>
  • Date: Tue, 11 Jul 2017 13:13:52 -0000

#13285: Incorporation of GCC 6
----------------------------+----------------------------
   Reporter:  korli         |      Owner:  korli
       Type:  enhancement   |     Status:  new
   Priority:  normal        |  Milestone:  Unscheduled
  Component:  Build System  |    Version:  R1/Development
 Resolution:                |   Keywords:
 Blocked By:                |   Blocking:
Has a Patch:  1             |   Platform:  All
----------------------------+----------------------------

Comment (by mt):

 Replying to [comment:7 korli]:

Maybe better to try to "fix" the code: it seems
 KDiskDeviceManager::Default() can be NULL


 I added null check to vfs.cpp at line 7282 and 7784, then gcc6 build
 works. But, gcc5 build works without applying patch or kernel flags. So I
 think gcc6 deletes null pointer check somewhere in kernel.

--
Ticket URL: <https://dev.haiku-os.org/ticket/13285#comment:8>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: