develooper Front page | perl.vmsperl | Postings from June 2002

long double on VAX (was Re: perl v5.8.0 17303 on VMS_VAX V7.2)

From:
Craig A. Berry
Date:
June 19, 2002 15:00
Subject:
long double on VAX (was Re: perl v5.8.0 17303 on VMS_VAX V7.2)
Message ID:
5.1.1.5.0.20020619155421.03238008@mail.mac.com
At 04:10 PM 6/19/2002 -0400, Brian Tillman wrote:
>>Hmm. Must be a bug in configure.com.  What do you get when you run the 
>>following test program:
>
>$ cc try
>        printf("%d\n", sizeof(long double));
>        ......................^
>%CC-I-LONGDOUBLENYI, In this statement, type long double has the same
> representation as type double on this platform.
>                At line number 7 in A305_DISK:[TILLMAN]TRY.C;2.


OK, I think it's reading the output of the informational message rather than 
the output of the printf().  What happens if you modify the test program 
like so:

--- try.c;-0    Wed Jun 19 13:56:15 2002
+++ try.c       Wed Jun 19 15:46:20 2002
@@ -1,4 +1,5 @@
 #if defined(__DECC) || defined(__DECCXX)
 #include <stdlib.h>
+#pragma message disable ALL
 #endif
 #include <stdio.h>








nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About