Bug #240
Can't compile IM-Kito on Haiku R30012
| Status: | Closed | Start: | 04/10/2009 | |
|---|---|---|---|---|
| Priority: | High | Due date: | ||
| Assigned to: | % Done: | 0% |
||
| Category: | im_server | Spent time: | 0.20 hour | |
| Target version: | 0.9.2 | |||
| Operating System: | Haiku |
Description
I got this:
@~/dev/imkit/trunk> jam
...patience...
...found 1681 target(s)...
...updating 3 target(s)...
C++ server/im_server.o
/boot/home/dev/imkit/trunk/server/ContactSpecification.h: In method `bool IM::ConnectionContactSpecification::IsSatisfiedBy(IM::ContactCachedConnections *)':
In file included from /boot/home/dev/imkit/trunk/server/ContactManager.h:19,
from /boot/home/dev/imkit/trunk/server/im_server.cpp:3:
/boot/home/dev/imkit/trunk/server/ContactSpecification.h:50: no match for `IM::Connection & IM::Connection &'
/boot/develop/headers/cpp/stl_tree.h:188: candidates are: bool operator (const _Rb_tree_base_iterator &, const _Rb_tree_base_iterator &)
/boot/develop/headers/be/interface/GraphicsDefs.h:23: bool operator (const pattern &, const pattern &)
/boot/develop/headers/be/support/String.h:412: bool operator (const char *, const BString &)
/boot/home/dev/imkit/trunk/server/im_server.cpp: At top level:
/boot/home/dev/imkit/trunk/server/im_server.cpp:221: warning: aggregate has a partly bracketed initializer
/boot/develop/headers/cpp/stl_relops.h: In function `bool operator !=<IM::Connection>(const IM::Connection &, const IM::Connection &)':
/boot/develop/headers/cpp/stl_algo.h:94: instantiated from `find<_List_iterator<IM::Connection,IM::Connection &,IM::Connection *>, IM::Connection>(_List_iterator<IM::Connection,IM::Connection &,IM::Connection *>, _List_iterator<IM::Connection,IM::Connection &,IM::Connection *>, const IM::Connection &, input_iterator_tag)'
/boot/develop/headers/cpp/stl_algo.h:193: instantiated from `find<_List_iterator<IM::Connection,IM::Connection &,IM::Connection *>, IM::Connection>(_List_iterator<IM::Connection,IM::Connection &,IM::Connection *>, _List_iterator<IM::Connection,IM::Connection &,IM::Connection *>, const IM::Connection &)'
common/GenericStore.h:130: instantiated from `IM::GenericListStore<IM::Connection>::Contains(IM::Connection)'
server/im_server.cpp:561: instantiated from here
/boot/develop/headers/cpp/stl_relops.h:38: no match for `const IM::Connection & const IM::Connection &'
/boot/develop/headers/cpp/stl_tree.h:188: candidates are: bool operator (const _Rb_tree_base_iterator &, const _Rb_tree_base_iterator &)
/boot/develop/headers/be/interface/GraphicsDefs.h:23: bool operator (const pattern &, const pattern &)
/boot/develop/headers/be/support/String.h:412: bool operator (const char *, const BString &)
/boot/develop/headers/cpp/stl_relops.h:38: warning: control reaches end of non-void function `operator !=<IM::Connection>(const IM::Connection &, const IM::Connection &)'
gcc -c -o server/im_server.o -g -Wall -Wno-trigraphs -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wpointer-arith -Wcast-align -Wsign-compare -Wno-multichar -DHAIKU_TARGET_PLATFORM_HAIKU=1 -DHAIKU=1 -DBONE_BUILD=1 -DDEBUG=1 -DBUILD_DATE="\"Fri Apr 10 13:02:50 2009\"" -DBUILD_REVISION="\"877\"" -Iserver -I. -Iutils/DeskbarIcon server/im_server.cpp
...failed C++ server/im_server.o ...
C++ server/ContactManager.o
/boot/home/dev/imkit/trunk/server/ContactSpecification.h: In method `bool IM::ConnectionContactSpecification::IsSatisfiedBy(IM::ContactCachedConnections *)':
In file included from /boot/home/dev/imkit/trunk/server/ContactManager.h:19,
from /boot/home/dev/imkit/trunk/server/ContactManager.cpp:1:
/boot/home/dev/imkit/trunk/server/ContactSpecification.h:50: no match for `IM::Connection & IM::Connection &'
/boot/develop/headers/be/interface/GraphicsDefs.h:23: candidates are: bool operator (const pattern &, const pattern &)
/boot/develop/headers/be/support/String.h:412: bool operator (const char *, const BString &)
/boot/develop/headers/cpp/stl_tree.h:188: bool operator (const _Rb_tree_base_iterator &, const _Rb_tree_base_iterator &)
gcc -c -o server/ContactManager.o -g -Wall -Wno-trigraphs -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wpointer-arith -Wcast-align -Wsign-compare -Wno-multichar -DHAIKU_TARGET_PLATFORM_HAIKU=1 -DHAIKU=1 -DBONE_BUILD=1 -DDEBUG=1 -DBUILD_DATE="\"Fri Apr 10 13:02:50 2009\"" -DBUILD_REVISION="\"877\"" -Iserver -I. -Iutils/DeskbarIcon server/ContactManager.cpp
...failed C++ server/ContactManager.o ...
...skipped im_server for lack of <server>im_server.o...
...failed updating 2 target(s)...
...skipped 1 target(s)...@
History
Updated by Pier Luigi Fiorini over 1 year ago
- Status changed from New to Assigned
- Assigned to set to Pier Luigi Fiorini
- Priority changed from Normal to High
Building with gcc2?
Though, I guess it's the last change to im_server.
Assigning this bug to me...
Updated by Pier Luigi Fiorini over 1 year ago
- Target version set to 0.9.2
Updated by Michael Davidson over 1 year ago
It can't be a compiler related problem as it works in Zeta on GCC2. Perhaps in Haiku GCC2 include paths are handled differently to Zeta / Haiku GCC4? I'll try building on my Haiku GCC2 build later today.
Updated by Michael Davidson over 1 year ago
- Status changed from Assigned to Closed
I forgot to commit a change to IM::Contact - fixed in R878.