aMule Bug Tracker - aMule
View Issue Details
0001718aMuleMiscpublic2012-05-08 07:492012-05-12 07:46
mrhed 
sturedman 
normalblockalways
resolvedfixed 
2.3.1 
2.3.2 
10772
Slackware64
0001718: unable to compile
im unable to compile this on slackware64 kernel 3.3.2 gcc version gcc (GCC) 4.7.0
this is what i end up with while compiling

Compiling DownloadQueue.cpp
In file included from DownloadQueue.h:30:0,
                 from DownloadQueue.cpp:26:
ObservableQueue.h: In instantiation of ‘void CObservableQueue<ValueType>::ObserverAdded(CObservableQueue<ValueType>::ObserverType*) [with ValueType = CPartFile*; CObservableQueue<ValueType>::ObserverType = CObserver<CQueueEvent<CPartFile*> >]’:
DownloadQueue.cpp:1528:32: required from here
ObservableQueue.h:334:2: error: ‘NotifyObservers’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
ObservableQueue.h:334:2: note: declarations in dependent base ‘CObservable<CQueueEvent<CPartFile*> >’ are not found by unqualified lookup
ObservableQueue.h:334:2: note: use ‘this->NotifyObservers’ instead
ObservableQueue.h: In instantiation of ‘void CObservableQueue<ValueType>::ObserverRemoved(CObservableQueue<ValueType>::ObserverType*) [with ValueType = CPartFile*; CObservableQueue<ValueType>::ObserverType = CObserver<CQueueEvent<CPartFile*> >]’:
DownloadQueue.cpp:1665:1: required from here
ObservableQueue.h:341:2: error: ‘NotifyObservers’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
ObservableQueue.h:341:2: note: declarations in dependent base ‘CObservable<CQueueEvent<CPartFile*> >’ are not found by unqualified lookup
ObservableQueue.h:341:2: note: use ‘this->NotifyObservers’ instead
make[3]: *** [amule-DownloadQueue.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
No tags attached.
duplicate of 0001715resolved sturedman Can't build on fedora 17 
Issue History
2012-05-08 07:49mrhedNew Issue
2012-05-08 07:49mrhedOperating System => Slackware64
2012-05-12 07:38GonoszTopiRelationship addedduplicate of 0001715
2012-05-12 07:39GonoszTopiFixed in Revision => 10772
2012-05-12 07:39GonoszTopiStatusnew => resolved
2012-05-12 07:39GonoszTopiResolutionopen => fixed
2012-05-12 07:39GonoszTopiFixed in Version => 2.3.2
2012-05-12 07:46GonoszTopiAssigned To => sturedman

There are no notes attached to this issue.