cctype和mingw ::: isblank尚未声明

时间:2017-10-11 08:38:29

标签: c++

我试图在我的mingw编译器中使用来自cctype的:: isBlank。我已经定义了

_GLIBCXX_USE_C99_CTYPE_TR1

为了启用:: isBlank的定义,我也在编译器设置中将它放在c ++ 14标准上。

但是我收到了这个错误:

error: '::isblank' has not been declared.

我正在尝试使用SOL2.hpp(单个文件版本),我无法在没有cctype的情况下这样做。

为什么会这样?

- 编辑: -

我忘了提到,错误将我带入了cctype标题,我确实包含了

proof

0 个答案:

没有答案