GNOME Bugzilla – Bug 404309
build errors in 0.122
Last modified: 2007-02-04 17:12:02 UTC
Maybe it is an old compiler issue (I am due to upgrade soon), but for your information compilation of 122 is failing under both my native gcc-3.2.3 and the gcc-3.3.2 I also have installed : In file included from article-cache.cc:39: ../../pan/general/log.h:34: warning: `class pan::Log' only defines a private destructor and has no friends In file included from article-cache.cc:43: article-cache.h:110: 'uint64_t' is used as a type, but is not defined as a type. article-cache.h:118: `uint64_t' was not declared in this scope article-cache.h:118: syntax error before `)' token article-cache.cc: In constructor `pan::ArticleCache::ArticleCache(const pan::StringView&, unsigned int)': article-cache.cc:142: class `pan::ArticleCache' does not have any field named ` _current_bytes' article-cache.cc:169: `_current_bytes' undeclared (first use this function) article-cache.cc:169: (Each undeclared identifier is reported only once for each function it appears in.) article-cache.cc: In member function `void pan::ArticleCache::add(const pan::Quark&, const pan::StringView&)': article-cache.cc:259: call of overloaded `resize()' is ambiguous article-cache.h:67: candidates are: void pan::ArticleCache::resize() article-cache.h:118: void pan::ArticleCache::resize(...) article-cache.cc: In member function `void pan::ArticleCache::resize()': article-cache.cc:292: `uint64_t' undeclared (first use this function) article-cache.cc:292: syntax error before `(' token article-cache.cc:293: `max_bytes' undeclared (first use this function) article-cache.cc: At global scope: article-cache.cc:304: syntax error before `)' token make [4]: *** [article-cache.o] Error 1 make[4]: Leaving directory `/usr/src/pan-0.122/pan/data' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/usr/src/pan-0.122/pan/data' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/pan-0.122/pan' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/pan-0.122' make: *** [all] Error 2
This was reported by Geoff in pan-users.
Created attachment 81879 [details] [review] test patch
Created attachment 81886 [details] [review] used guint64 instead, since we're already using that in task-pane.cc
Fixed in svn revision 151.