[haiku-bugs] Re: [Haiku] #10396: [PATCHSET] Make Haiku userland compile and work with Clang

  • From: "js" <trac@xxxxxxxxxxxx>
  • Date: Sun, 12 Jan 2014 16:14:22 -0000

#10396: [PATCHSET] Make Haiku userland compile and work with Clang
---------------------------+----------------------------
   Reporter:  js           |      Owner:  bonefish
       Type:  enhancement  |     Status:  closed
   Priority:  normal       |  Milestone:  R1/beta1
  Component:  - General    |    Version:  R1/Development
 Resolution:  fixed        |   Keywords:  clang
 Blocked By:               |   Blocking:
Has a Patch:  1            |   Platform:  All
---------------------------+----------------------------

Comment (by js):

 The comment is definitely something we should add. It confused you, so it
 might confuse others as well.

 const Type* operator() has a problem: It would mean the data the pointer
 points to is read-only. But if you want to modify the data in the array,
 this would be a problem.

--
Ticket URL: <http://dev.haiku-os.org/ticket/10396#comment:29>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: