blackducksoftware / ohcount

The Ohloh source code line counter
https://github.com/blackducksoftware/ohcount
GNU General Public License v2.0
261 stars 70 forks source link

Compilation error, travis failing also #78

Open ph4r05 opened 3 years ago

ph4r05 commented 3 years ago

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

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)
notalex commented 3 years ago

Thank you for reporting this. We will look into this.