From: Rick Gorton <rick.gorton@api-networks.com>
To: "'axp-list@redhat.com'" <axp-list@redhat.com>
Subject: CXX default typing (was RE: help decript nm output.)
Date: Thu, 3 May 2001 08:39:12 -0400 [thread overview]
Message-ID: <051DFF3BBA73D3119A5800A0C95BD0219BECFC@barracuda.alpha-processor.com> (raw)
Actually, it may not be a CXX bug; merely a matter of what
the compiler chose in the absense of a specific declaration.
The -unsigned and -signed switches in cxx and ccc can be used
to set the default behavior when [un]signed is missing on a
declaration.
As a general performance tip on Alpha, using unsigned char/short
datatypes is going to be faster than signed char/short, particularly
when compiling for older Alpha machines.
Regards,
Rick
-----Original Message-----
From: Ram Viswanadha [mailto:ram@jtcsv.com]
Sent: Wednesday, May 02, 2001 10:20 PM
To: axp-list@redhat.com
Subject: Re: help decript nm output.
Thanks guys,
That was it! Signed char and char made all the difference. My data types
were
defined incorrectly when using CXX.
Now I can build the libraries and run the tests which seg fault half way
through,
that is expected though (floating point exception, since I havent compiled
with
-ieee option). I still have problems with -ieee and am trying get that
squared
away.
Regards,
Ram
reply other threads:[~2001-05-03 12:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox