[PHP-DEV] PHP 4.0 Bug #8345 Updated: Non-ANSI code From: sas <email protected>
Date: 12/21/00

ID: 8345
Updated by: sas
Reported By: china <email protected>
Old-Status: Open
Status: Closed
Bug Type: Compile Problem
Assigned To:
Comments:

Fixed in CVS. Thanks for your report.

Previous Comments:
---------------------------------------------------------------------------

[2000-12-20 21:56:53] china <email protected>
ext/session/mod_mm.c has the following:

  #if 0
  #define ps_mm_debug(a...) fprintf(stderr, a)
  #else
  #define ps_mm_debug(a...)
  #endif

Here's what gcc -pedantic -ansi has to say about this:
  warning: ANSI C does not allow macro with variable arguments

The Solaris C compiler dies outright:
"mod_mm.c", line 60: invalid token in #define macro parameters: ...
cc: acomp failed for mod_mm.c

---------------------------------------------------------------------------

Full Bug description available at: http://bugs.php.net/?id=8345

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>