Go to the FreeLists Home Page Home Signup Help Login
 



[openbeos] || [Date Prev] [01-2007 Date Index] [Date Next] || [Thread Prev] [01-2007 Thread Index] [Thread Next]

[openbeos] Re: Aw: Re: Boot failure with Quad-core

  • From: "Larry Baydak" <lbaydak@xxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Sun, 07 Jan 2007 22:17:32 -0500 EST
Sun, 7 Jan 2007 22:34:38 +0100 (CET) Marcus Overhagen wrote:
> Larry Baydak wrote:
> 
> > Also :  I had the devil of a time with the dprintf()  function.  It 
> > really does not
> > not treat all  integers as  equal. It seems that if a number was 
> > originally
> > created as  'uint32' - then  dprintf wont handle it correctly as an  
> > integer. Despite
> > various casts and  implicit type conversions.
> > I found two ways of dealing with the problem. Print it in a 'long 
> > hexadecimal' 
> > format. Or  declare an integer value and assign the uint32 value to 
> > it. 
> 
> Does your compiler treat long as 64 bit? that would be a problem.

No - Its just the recommended  BeOS compiler for use with Haiku.
The problem was a combination of my advanced senility and unfamiliarity 
with the
GNU dialect of  C.  (I have lived a very sheltered life with Sun 
compilers)








[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.