php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6754 snmp.c: illegal charachters in #ifdef
Submitted: 2000-09-14 04:37 UTC Modified: 2000-09-20 22:27 UTC
From: Wolfram dot Schmidt at iao dot fhg dot de Assigned:
Status: Closed Package: Compile Warning
PHP Version: 4.0.2 OS: Solaris 2.6
Private report: No CVE-ID: None
 [2000-09-14 04:37 UTC] Wolfram dot Schmidt at iao dot fhg dot de
Error messages:
"...../php-4.0.2/Zend/zend_compile.h", line 33: warning: #ifdef must be followed by an identifier
"...../php-4.0.2/Zend/zend_compile.h", line 33: warning: tokens ignored at end of directive line
"...../php-4.0.2/Zend/zend_compile.h", line 33: warning: #ifdef must be followed by an identifier
"...../php-4.0.2/Zend/zend_compile.h", line 33: warning: tokens ignored at end of directive line

% head -33 ...../php-4.0.2/Zend/zend_compile.h | tail -1
#ifdef( __cplusplus)
%

It's been a long time sine I wrote my last C program. Nevertheless I think the compiler is right.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-14 04:39 UTC] Wolfram dot Schmidt at iao dot fhg dot de
Oops. Should be Compiler Warning - corrected.
 [2000-09-20 22:27 UTC] sniper@php.net
Should be fixed in CVS. Please check.

--Jani
 
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sun Feb 05 02:05:48 2023 UTC