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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
25 + 39 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 19:01:31 2024 UTC