#45900 [NEW]: timelib_structs.h include path issue on Windows

[email protected] ("Keisial at gmail dot com")
Newsgroups php.bugs
Message-ID <[email protected]>
From:             Keisial at gmail dot com
Operating system: Windows
PHP version:      5.3CVS-2008-08-23 (snap)
PHP Bug Type:     Compile Failure
Bug description:  timelib_structs.h include path issue on Windows

Description:
------------
Compiling date extension on windows has the same problem reported in bug
37163.
ext/date/lib is included in the config.w32, but with the wrong switch.
Being for windows, it should use /I instead of -I

--- config.w32 2006-01-05 07:41:10.000000000 +0100
+++ config.w32  2008-08-23 19:45:58.000000000 +0200
@@ -1,7 +1,7 @@
 // $Id: config.w32,v 1.5.2.1 2006/01/05 06:41:09 sebastian Exp $
 // vim:ft=javascript

-EXTENSION("date", "php_date.c", false, "-Iext/date/lib");
+EXTENSION("date", "php_date.c", false, "/Iext/date/lib");
 ADD_SOURCES("ext/date/lib", "astro.c timelib.c dow.c parse_date.c
parse_tz.c tm2unixtime.c unixtime2tm.c", "date");
 AC_DEFINE('HAVE_DATE', 1, 'Have date/time support');


-- 
Edit bug report at http://bugs.php.net/?id=45900&edit=1
-- 
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=45900&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=45900&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=45900&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=45900&r=fixedcvs
Fixed in release:             http://bugs.php.net/fix.php?id=45900&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=45900&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=45900&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=45900&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=45900&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=45900&r=notwrong
Not enough info:              http://bugs.php.net/fix.php?id=45900&r=notenoughinfo
Submitted twice:              http://bugs.php.net/fix.php?id=45900&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=45900&r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=45900&r=php4
Daylight Savings:             http://bugs.php.net/fix.php?id=45900&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=45900&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=45900&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=45900&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=45900&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=45900&r=mysqlcfg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.