某c++代码从linux移植到windows的笔记

修改记录:
编译argtable库
__attribute__ ((noreturn)); 改成  __declspec(noreturn);
stdint.h

vs2008中没有stdint.h头文件,从vs2010中拷贝一份。

阅读Makefile文件,由makefile形成项目

annotator

eval

vidzoom

 eval项目

libgen.h

linux操作系统的头文件,windows下没有。

types.h

std::equal 重新考虑特化版本,当前直接注释掉。

 3. annotator项目

annotator.cpp

#define 后面没有;

 4. vidzoom项目

settings.h cpp feature.h feature.cpp

逻辑运算符

or not and 改成 || ! &&

assertions.cpp

signal(SIGBUS)

strsignal

linux下的

assertions.h

__PRETY_FUNCTION__ __FUNCTION__

__STRING #

settings.h

abs 加入明确的指示

 vidzoom.cpp

round函数用语句代替(int)(a+0.5)