chokkan / crfsuite

CRFsuite: a fast implementation of Conditional Random Fields (CRFs)
http://www.chokkan.org/software/crfsuite/
Other
641 stars 208 forks source link

Old lookup3.c file, `k8` undeclared #108

Closed pkyoyetera closed 5 years ago

pkyoyetera commented 5 years ago

I use crfsuite in a project and I'm currently building with an address sanitizer, which catches the nifty workarounds used in lookup3.c file. The workaround is to build with the VALGRIND macro defined. However the #else branch uses k8 before it's defined there. Right here: https://github.com/chokkan/crfsuite/blob/master/lib/cqdb/src/lookup3.c#L336.