#35648 [Opn->Csd]: ext\date\lib\parse_date.c uses strncasecmp
| From: | sniper@php.net | Date: | Mon, 12 Dec 2005 19:45:16 +0000 |
| Subject: | #35648 [Opn->Csd]: ext\date\lib\parse_date.c uses strncasecmp | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-90302@lists.php.net to get a copy of this message | ||
ID: 35648
Updated by: sniper@php.net
Reported By: kernoel at chello dot at
-Status: Open
+Status: Closed
Bug Type: Compile Failure
Operating System: Win32
PHP Version: 5CVS-2005-12-12 (CVS)
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2005-12-12 20:39:52] kernoel at chello dot at
This also applies to cvs of version 6...
------------------------------------------------------------------------
[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