#35648 [Opn]: ext\date\lib\parse_date.c uses strncasecmp
| From: | kernoel at chello dot at | Date: | Mon, 12 Dec 2005 19:39:53 +0000 |
| Subject: | #35648 [Opn]: ext\date\lib\parse_date.c uses strncasecmp | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-90301@lists.php.net to get a copy of this message | ||
ID: 35648
User updated by: kernoel at chello dot at
Reported By: kernoel at chello dot at
Status: Open
Bug Type: Compile Failure
Operating System: Win32
PHP Version: 5CVS-2005-12-12 (CVS)
New Comment:
This also applies to cvs of version 6...
Previous Comments:
------------------------------------------------------------------------
[2005-12-12 20:35:32] kernoel at chello dot at
Description:
------------
because ext\date\lib\parse_date.c uses strncasecmp also on windows
platforms, i get unresolved external symbols. a simple #ifdef in front
of the function solves the problem for the moment. there is only one
line where strncasecmp is used, so this should be easy to find ;o)
Reproduce code:
---------------
----
Expected result:
----------------
----
Actual result:
--------------
parse_date.obj : error LNK2019: unresolved external symbol _strncasecmp
referenced in function _timelib_skip_day_suffix
Release_TS\php5ts.dll : fatal error LNK1120: 1 unresolved externals
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35648&edit=1