#49897 [Opn->Bgs]: tsrm_config_common.h invalid integer constant problem
| From: | pajoye@php.net | Date: | Fri, 16 Oct 2009 12:17:21 +0000 |
| Subject: | #49897 [Opn->Bgs]: tsrm_config_common.h invalid integer constant problem | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-143630@lists.php.net to get a copy of this message | ||
ID: 49897
Updated by: pajoye@php.net
Reported By: admin at atilailhankartal dot com dot tr
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: Win32
PHP Version: 5.3.0
New Comment:
Not really a php issue, every single extension out there use this
header. Are you sure that everything is correct in your ext? You can ask
on php-windows-internals for support if necessary.
Previous Comments:
------------------------------------------------------------------------
[2009-10-16 10:52:55] admin at atilailhankartal dot com dot tr
Description:
------------
Error 1 fatal error C1017: invalid integer constant
expression \tsrm\tsrm_config_common.h 5 php_myextension
my compiler Visual Studio C++ 2008 (VC9)
Reproduce code:
---------------
#ifndef TSRM_CONFIG_COMMON_H
#define TSRM_CONFIG_COMMON_H
#ifndef __CYGWIN__
# if WINNT|WIN32 // Problemed row
# define TSRM_WIN32
# endif
#endif
#ifdef TSRM_WIN32
# include "tsrm_config.w32.h"
#else
# include <tsrm_config.h>
# include <sys/param.h>
#endif
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=49897&edit=1