Newsgroups: php.general,php.internals Path: news.php.net Xref: news.php.net php.general:209067 php.internals:15105 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 79646 invoked by uid 1010); 19 Feb 2005 16:48:42 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 79613 invoked by uid 1007); 19 Feb 2005 16:48:42 -0000 Message-ID: <20050219164842.79612.qmail@lists.php.net> To: php-general@lists.php.net, internals@lists.php.net Date: Sat, 19 Feb 2005 17:48:48 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050106 X-Accept-Language: en-us, en MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 62.131.2.67 Subject: problems compiling mysqli (on win32) From: tularis@php.net ("M. Sokolewicz") whenever I try compiling PHP, the mysqli extension gives me trouble. I've gotten this all from HEAD just a couple of hours ago (again, it didn't work before either). I'm using MSVC 7.1 (.NET). Here's the error I'm getting: ext\mysqli\php_mysqli.h(50) : error C2061: syntax error : identifier 'MYSQL_STMT' ext\mysqli\php_mysqli.h(54) : error C2059: syntax error : '}' ext\mysqli\php_mysqli.h(93) : error C2065: 'LOCAL_INFILE_ERROR_LEN' : undeclared identifier ext\mysqli\php_mysqli.h(93) : error C2057: expected constant expression ext\mysqli\php_mysqli.h(94) : error C2229: struct '__unnamed' has an illegal zero-sized array ext\mysqli\php_mysqli.h(127) : error C2143: syntax error : missing ')' before '*' ext\mysqli\php_mysqli.h(127) : error C2143: syntax error : missing '{' before '*' ext\mysqli\php_mysqli.h(127) : error C2059: syntax error : ')' Since I'm no good at C, I really have no idea what the problem here is... So, is this a problem with my compiler being stupid? or is this a real live problem in HEAD? hope somebody can help me with this, - M. Sokolewicz