Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 10 years ago

Language

Compiler

Options

Author

anonymous

over 10 years ago

$
prog.cc:78:52: warning: unused parameter 'alpha' [-Wunused-parameter]
       virtual Transition find_alpha_transition(C alpha) override {
                                                  ^
prog.cc:269:18: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]
        for (; i < s.length(); ++i) {
              ~ ^ ~~~~~~~~~~
prog.cc:311:17: note: in instantiation of member function 'SuffixTree<std::__1::basic_string<char>, int>::deploy_suffixes' requested here
       if (0 > deploy_suffixes(new_string, last_index)) {
               ^
prog.cc:330:10: note: in instantiation of member function 'SuffixTree<std::__1::basic_string<char>, int>::add_string' requested here
   tree.add_string("a$");
        ^
2 warnings generated.
Signal:
Segmentation fault