Skip to content

Compilation error, travis failing also #78

Description

@ph4r05

Compilation fails on the current master (6654d48) on both:

  • Ubuntu 20.04.1 LTS, gcc version 9.3.0, gperf v3.1
  • OSX 11.2.3, Apple clang version 12.0.0 (clang-1200.0.32.29), gperf v3.0.3

It also seems that your Travis build is failing and Travis mistakenly finishes with success: https://travis-ci.org/github/blackducksoftware/ohcount/jobs/760100858

Error:

Building src/parser.c (will take a while)
clang: warning: argument unused during compilation: '-L/opt/local/lib' [-Wunused-command-line-argument]
src/parser.c:10:20: error: conflicting types for 'ohcount_hash_parser_from_language'
struct ParserMap * ohcount_hash_parser_from_language (register const char *str, register size_t len);
                   ^
parsers.gperf:171:1: note: previous definition is here
ohcount_hash_parser_from_language (register const char *str, register unsigned int len)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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