Paul Meier wrote:
Neale,
Thanks so much for your help.

The problem I am facing is that some of the development code relies on
return values that should be used as a size_t being declared as an
unsigned int.

In other cases it is a reliance on a pointer value being 32 bits and
casted to an unsigned or signed int to do pointer arithmetic.  While
that works fine in a 32-bit environment it causes problems in a 64-bit
environment.

The immediate solution is to use the correct unit types where called
for.  I am attempting to identify those places where this occurs and
use the correct typedef for the values used.

If this is too burdensome a last resort will be to recompile all the
3rd party libraries as -m31 along with the application

Any other ideas?

Sounds to me like the problem is with the source code, not the compiler,
and that the source code needs to be fixed so as to be portable.

The sooner done, the less the cost of fixing it.

Compiling as -m31 might work, but not everyone wants both sets of
libraries installed.




--

Cheers
John

-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to