添加debug和release编译选项,修正int与size_t的warning.