php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1484 Syntax error while compiling basic_functions.c
Submitted: 1999-06-02 07:19 UTC Modified: 1999-06-05 07:25 UTC
From: elecharny at atos-group dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.8 OS: winnt
Private report: No CVE-ID: None
 [1999-06-02 07:19 UTC] elecharny at atos-group dot com
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...:)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-06-05 07:25 UTC] sas at cvs dot php dot net
fixed in CVS
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 10 17:01:34 2024 UTC