After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 404309 - build errors in 0.122
build errors in 0.122
Status: RESOLVED FIXED
Product: Pan
Classification: Other
Component: general
pre-1.0 betas
Other Linux
: Normal major
: 1.0
Assigned To: Charles Kerr
Pan QA Team
Depends on:
Blocks:
 
 
Reported: 2007-02-04 16:21 UTC by Charles Kerr
Modified: 2007-02-04 17:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
test patch (376 bytes, patch)
2007-02-04 16:25 UTC, Charles Kerr
none Details | Review
used guint64 instead, since we're already using that in task-pane.cc (1.98 KB, patch)
2007-02-04 17:10 UTC, Charles Kerr
none Details | Review

Description Charles Kerr 2007-02-04 16:21:18 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
Comment 1 Charles Kerr 2007-02-04 16:21:37 UTC
This was reported by Geoff in pan-users.
Comment 2 Charles Kerr 2007-02-04 16:25:25 UTC
Created attachment 81879 [details] [review]
test patch
Comment 3 Charles Kerr 2007-02-04 17:10:53 UTC
Created attachment 81886 [details] [review]
used guint64 instead, since we're already using that in task-pane.cc
Comment 4 Charles Kerr 2007-02-04 17:12:02 UTC
Fixed in svn revision 151.