Bug #1484: Syntax error while compiling basic_functions.c
| From: | elecharny at atos-group dot com | Date: | Wed, 02 Jun 1999 11:19:53 +0000 |
| Subject: | Bug #1484: Syntax error while compiling basic_functions.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-6459@lists.php.net to get a copy of this message | ||
From: elecharny@atos-group.com
Operating system: winnt
PHP version: 3.0.8
PHP Bug Type: Compile Failure
Bug description: Syntax error while compiling basic_functions.c
When I try to compile php under Winnt with visual C++ 5.0, I have this error :
basic_functions.c
.\functions/md5.h(65) : error C2061: syntax error : identifier 'UINT4'
This is because file global.h has been modified from version 3.0.7 :
/* UINT4 defines a four byte word */
typedef unsigned long int UINT4;
has become:
/* UINT4 defines a four byte word */
#if SIZEOF_INT == 4
typedef unsigned int UINT4;
#elif SIZEOF_LONG == 4
typedef unsigned long UINT4;
#endif
But you don't have any definition of SIZEOF_LONG in the config.win32.h file. (running
./configure set its value to 4 under a good old UNIX system...:)