Re: cvs: php4 /ext/calendar CREDITS calendar.c php_calendar.h
| From: | Wez Furlong | Date: | Thu, 05 Jul 2001 10:01:50 +0000 |
| Subject: | Re: cvs: php4 /ext/calendar CREDITS calendar.c php_calendar.h | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-6084@lists.php.net to get a copy of this message | ||
On 04/07/01, "Sebastian Bergmann" <sb@sebastian-bergmann.de> wrote:
> This breaks build on Win32 (and maybe other thread-safe environments).
>
> calendar.c
> D:\home\php\php4\ext\calendar\calendar.c(72) : error C2059: Syntaxfehler
> : 'cons
> tant'
enum {
CAL_GREGORIAN = 0,
CAL_JULIAN,
CAL_JEWISH,
CAL_FRENCH,
CAL_NUM_CALS
};
I don't get it; why the error message?
I've added a name to the enum, which I hope will fix it.
--Wez.