fpm_atomic.h:64:8: error: macro names must be identifiers
Bug #437085 reported by
dreamcat4
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
PHP-FPM | Status tracked in Master | |||||
Master |
Fix Released
|
High
|
dreamcat4 |
Bug Description
Hello,
I receive an error when trying to build php-fpm on my CentOS 5 machine. Not sure what to make of it.
In file included from fpm_shm_slots.h:8,
fpm_atomic.h:64:8: error: macro names must be identifiers
make[2]: *** [libfpm_
make[2]: Leaving directory `/path/
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/path/
make: *** [all] Error
Any ideas?
Changed in php-fpm: | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → dreamcat4 (dreamcat4) |
milestone: | none → 0.6 |
To post a comment you must log in.
Yeah,
This line:
#ifdef (__GNUC__) && (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 2))
worked allright on my GCC (Ubuntu 4.4.1-1ubuntu3), but not for CentOS.
should be:
#if (__GNUC__) && (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 2))