Skip to content
This repository was archived by the owner on Sep 13, 2022. It is now read-only.
This repository was archived by the owner on Sep 13, 2022. It is now read-only.

compilation errors during build #1

@cml54

Description

@cml54

I downloaded zpar wrapper and ran ‘make’ in order to build zpar and zpar wrapper.
But, I got the following error:

In file included from ./src/include/hash.h:25:
./src/include/hash_stream.h:18:11: error: call to function 'operator>>' that is neither
      visible in the template definition nor found by argument-dependent lookup
      iss >> table[key] ;
          ^
./src/common/tagger/implementations/collins/tagger.h:118:9: note: in instantiation of
      function template specialization 'operator>><CWord, english::CTag>' requested here
      i >> (*m_TopTags);
        ^
./src/english/tags.h:29:23: note: 'operator>>' should be declared prior to the call site
      or in namespace 'english'
inline std::istream & operator >> (std::istream &is, english::CTag &tag) {
                      ^
1 error generated.
make[1]: *** [obj/english.postagger.o] Error 1
make: *** [python-zpar] Error 2

Can you advise me how to resolve the error?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions