greta,一个开源正则表达式模板库: http://research.microsoft.com/projects/greta/

在debug unicode multithread dll的时候,出现如下link问题:
LIBCMTD.lib(_wctype.obj) : error LNK2005: _iswspace already defined in xxx.obj

去google了一下,发现这是个非常老的windowsAPI的bug,boost库同样出现这个问题,这里有个walk around:

http://aspn.activestate.com/ASPN/Mail/Message/2509074


对比这同样修改了greta
iswspace 为 iswctype(ch, L' ')既可。

相关文章:

  • 2021-07-15
  • 2021-09-01
  • 2021-06-12
  • 2021-07-24
  • 2022-12-23
  • 2021-09-16
  • 2022-12-23
猜你喜欢
  • 2021-09-17
  • 2021-10-14
  • 2021-12-09
  • 2021-11-15
  • 2021-12-08
  • 2021-05-11
  • 2021-07-12
相关资源
相似解决方案