我将为PHP 5.3.x构建一个扩展
当我在没有vc++库的情况下构建时,一切都很好。
error C2039: 'clock_t' : is not a member of '`global namespace''
error C2873: 'clock_t' : symbol cannot be used in a using-declaration
error C2039: 'asctime' : is not a member of '`global namespace''
error C2873: 'asctime' : symbol cannot be used in a using-declaration还有..。
我包含了just和got这个错误。我知道这个问题来自PHP zend引擎需要的属性中的include头文件,但我不知道如何解决这个问题。谢谢
发布于 2013-03-14 17:22:58
更改包含路径,例如更改为:
#include "C:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\include\time.h"https://stackoverflow.com/questions/13046694
复制相似问题