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>

随机日志

6 条评论 »

  1. I’ve said that least 296490 times. The problem this like that is they are just too compilcated for the average bird, if you know what I mean

    Comment 由 a296490 — 2011-11-20 @ 17:37

  2. I’ve said that least 2147598 times. The problem this like that is they are just too compilcated for the average bird, if you know what I mean

    Comment 由 a2147598 — 2011-11-20 @ 17:37

  3. tb296490@296490…

    I’ve said that least 296490 times. …

    Trackback 由 I've said that least 296490 times — 2011-11-20 @ 17:37

  4. I’ve said that least 1205072 times. The problem this like that is they are just too compilcated for the average bird, if you know what I mean

    Comment 由 a1205072 — 2011-11-20 @ 17:37

  5. I’ve said that least 4608216 times. The problem this like that is they are just too compilcated for the average bird, if you know what I mean

    Comment 由 a4608216 — 2011-11-20 @ 17:37

  6. I’ve said that least 747491 times. The problem this like that is they are just too compilcated for the average bird, if you know what I mean

    Comment 由 a747491 — 2011-11-20 @ 17:37

这篇文章上的评论 RSS feed TrackBack URL

留下评论

WordPress 所驱动