2009-03-08

gcc 升级引起的错误

类归于: Arch, Linux — 标签:, , bobhero @ 09:10

今天重做了系统  想起有一个软件没有测试 叫 devtodo  结果出现了错误如下
todoterm.cc:18: error: ‘getenv’ was not declared in this scope
todoterm.cc:22: error: ‘setenv’ was not declared in this scope

查了一下,资料 还真的很少

不过还是可以解决的找个适当的位置 把下面一句话加上就OK 了

#include <cstdlib>

WordPress 所驱动