[haiku-bugs] Re: [Haiku] #6791: Missing volatile keyword

  • From: "phoudoin" <trac@xxxxxxxxxxxx>
  • Date: Mon, 07 Mar 2011 23:18:57 -0000

#6791: Missing volatile keyword
-----------------------------+----------------------------
   Reporter:  kaliber        |      Owner:  axeld
       Type:  bug            |     Status:  new
   Priority:  normal         |  Milestone:  R1
  Component:  System/Kernel  |    Version:  R1/Development
 Resolution:                 |   Keywords:
 Blocked By:                 |   Blocking:
Has a Patch:  0              |   Platform:  All
-----------------------------+----------------------------

Comment (by phoudoin):

 I guess clang will be happier if it was written as follow:

 *((volatile uint32 *)0) = 0xdeadbeef;

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

Other related posts: