Re: [PHP-DEV] CVS update: php3 From: sas <email protected>
Date: 02/28/99

On Sun, Feb 28, 1999 at 12:12:58PM -0500, Rasmus Lerdorf wrote:
> > I've looked into several books to answer that question before I committed. I
> > did not find anything. But have a look:
> >
> > [sas <email protected> sas]$ cat sizeof.c
> > main() { printf("%d\n", sizeof(sizeof(char))); }
> > [sas <email protected> sas]$ ./sizeof
> > 8
> > [sas <email protected> sas]$ uname -sm
> > Linux alpha
> >
> > [sas <email protected>] sas $ ./sizeof
> > 4
> > [sas <email protected>] sas $ uname -sm
> > Linux i586
> >
> > Dunno what it is. From the results above, I'd say it is a long.
>
> Hrm.. Well, my compiler complained.

[sas <email protected> sas]$ gcc -v
Reading specs from
/usr/lib/gcc-lib/alphaev56-unknown-linux-gnu/egcs-2.91.60/specs
gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release)

[sas <email protected>] sas $ pgcc -v
Reading specs from
/usr/lib/pgcc-1.1.1/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.91.60/specs
gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release)

-- 

Regards,

Sascha Schumann | Consultant | finger sas <email protected> | for PGP public key

-- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe <email protected> For help: php-dev-help <email protected>