Re: [PHP4BETA] Cool warnings
| From: | Zeev Suraski | Date: | Fri, 23 Apr 1999 07:31:57 +0000 |
| Subject: | Re: [PHP4BETA] Cool warnings | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-378@lists.php.net to get a copy of this message | ||
On Fri, 23 Apr 1999, Rasmus Lerdorf wrote:
> gcc -g -O2 -I. -I. -I./libzend -I/usr/include/imap -I/usr/local/ldap/include
> -I/usr/include/mysql -I/usr/include/ucd-snmp -g -Wall -c main.c -o main.o
> main.c: In function `main':
> main.c:1270: warning: variable
cgi' might be clobbered by
> longjmp' or `vfork'
> main.c:1274: warning: variable _cgi_filename' might be clobbered by
> longjmp' or `vfork'
> main.c:1275: warning: variable _cgi_started' might be clobbered by
> longjmp' or `vfork'
> main.c:1276: warning: variable behavior' might be clobbered by
> longjmp' or `vfork'
> main.c:1278: warning: variable interactive' might be clobbered by
> longjmp' or `vfork'
>
> I have not run across this one before. (gcc-2.7.2.3)
They're with us for quite a while now (a few months). I have no idea why
they appear, and couldn't find any references on the web either. It's no
biggy if they do get clobbered in case of a longjmp, so they're just
annoying warnings...
Zeev
--
-----------------------------------------------------
Zeev Suraski <zeev@zend.com>
For a PGP public key, finger bourbon@netvision.net.il
--
PHP 4 Beta