All pastes #1449167 Raw Edit

Emacs Compilation Error

public text v1 · immutable
#1449167 ·published 2009-06-05 21:47 UTC
rendered paste body
cd /home/8/kusold/project/lab6/
/class/sce/bin/rcpp-make

==== Checking for out-of-date files ====
gmake -f /class/sce/rcpp/RESOLVE_Foundation/Makefile.rcpp -f Makefile.rcpp all

==== Compiling Tag_Cloud_Generator.cpp ====
/class/sce/rcpp/tools/wrapper/SunOS-sparc/rcpp-c++ -s -ftemplate-depth-99 -I. -I/class/sce/rcpp -I/home/8/kusold/rcpp/Personal_Catalog -I/class/sce/rcpp/RESOLVE_Catalog -I/class/sce/rcpp/Bugs_Catalog -MMD -c -o Tag_Cloud_Generator.o Tag_Cloud_Generator.cpp
Tag_Cloud_Generator.cpp: In function `int main()':
Tag_Cloud_Generator.cpp:512: error: cannot declare variable `word_occur' to be of type `Word_Occurrence_Map'
Tag_Cloud_Generator.cpp:512: error:   because the following virtual functions are abstract:
./AT/Word_Occurrence/Kernel.h:55: error:  void Word_Occurrence_Kernel<Item>::Add(Item&) [with Item = Text]
./AT/Word_Occurrence/Kernel.h:71: error:  void Word_Occurrence_Kernel<Item>::Remove(Item&, Item&, Integer&) [with Item = Text]
./AT/Word_Occurrence/Kernel.h:84: error:  void Word_Occurrence_Kernel<Item>::Remove_Any(Item&, Integer&) [with Item = Text]
./AT/Word_Occurrence/Kernel.h:95: error:  Integer& Word_Occurrence_Kernel<Item>::operator[](Item&) [with Item = Text]
./AT/Word_Occurrence/Kernel.h:105: error:  Boolean Word_Occurrence_Kernel<Item>::Is_Defined(Item&) [with Item = Text]
./AT/Word_Occurrence/Kernel.h:111: error:  Integer Word_Occurrence_Kernel<Item>::Size() [with Item = Text]
./AT/Word_Occurrence/Kernel.h:117: error:  Integer Word_Occurrence_Kernel<Item>::Total() [with Item = Text]
Tag_Cloud_Generator.cpp:512: error: cannot declare variable `final' to be of type `Word_Occurrence_Map'
Tag_Cloud_Generator.cpp:512: error:   since type `Word_Occurrence_Map' has abstract virtual functions
Tag_Cloud_Generator.cpp:553: error: call of overloaded `Get_Next_Word(Character_IStream&, Text&)' is ambiguous
Tag_Cloud_Generator.cpp:142: note: candidates are: void Get_Next_Word(Character_IStream&, Text)
Tag_Cloud_Generator.cpp:207: note:                 void Get_Next_Word(Character_IStream&, Text&)
gmake: *** [Tag_Cloud_Generator.o] Error 1

Compilation finished at Fri Jun  5 17:37:49