bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

compilation problem on hpux 11


From: espadonspirale
Subject: compilation problem on hpux 11
Date: Mon, 26 Nov 2001 06:05:28 -0500

I'm installing bash 2.05a on HP B3600/J5600 with HPUX 11.0 + last quality patch 
(december 2001).

I get an error in "printf.def" file at line 1040.

My computer has "long double".

strtold definition in stdlib.h is define as "long_double strtold()" and 
long_double is a struct of 4 uint32.

To resolve the problem, I add a union in order to convert long_double value to 
real long double.

  union
  {
        long_double     struct_ld;
        long double     real_ld;
  } u;  

  u.struct_ld = strtold (garglist->word->word, &ep);
  ret = u.real_ld;

Regards,

Laurent GILBERT
SPIRALE INGENIERIE
-- 




__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas. Experience 
the convenience of buying online with Shop@Netscape! 
http://shopnow.netscape.com/

Get your own FREE, personal Netscape Mail account today at 
http://webmail.netscape.com/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]