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

  • From: "korli" <trac@xxxxxxxxxxxx>
  • Date: Mon, 10 Jul 2017 11:42:35 -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 korli):

 Maybe better to try to "fix" the code: it seems
 KDiskDeviceManager::Default() can be NULL at
 https://github.com/haiku/haiku/blob/master/src/system/kernel/fs/vfs.cpp#L7784
 and
 https://github.com/haiku/haiku/blob/master/src/system/kernel/fs/vfs.cpp#L7278

 It seems that AutoLocker checks if fLockable isn't NULL... see
 
https://github.com/haiku/haiku/blob/master/headers/private/shared/AutoLocker.h#L130

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

Other related posts: