Compile error with 3.0.11 snmp.c on SGI IRIX 6.5

From: Date: Sun, 11 Jul 1999 05:26:25 +0000
Subject: Compile error with 3.0.11 snmp.c on SGI IRIX 6.5
Groups: php.dev 
Request: Send a blank email to php-dev+get-8342@lists.php.net to get a copy of this message
When compiling PHP 3.0.11 with SNMP support, the compiler (SGI's proprietary 64-bit compiler, presumably compiling 32-bit code with PHP due to the year 2039 bug) stops compiling when it comes across seven "return" statements inside of void functions. This, I think, would probably cause any compiler to complain unless if that option is disabled. Removing the "return" from the statements fixed the problem and it compiled. For a web page, I would like to be able to set a value using SNMP. Are there any plans to make a function such as snmpset()? I'm thinking about just adding it to the code for this project and will then upload it to the CVS tree if no one objects.. Thanks, and have a good day today :-) --Steven Lawrance-- Personal Web Site and E-Mail: slawrance@technologist.com http://www.bryant.edu/~ssl2 (SSL2)

« previous php.dev (#8342) next »