Closed thamerla closed 7 years ago
Please, try to use make instead.
I use make (as specified in the reproduce part) and this is the result.
Code is meant to be compiled with C11
Also, try the dev branch
There it is written explicitly
Just gotta finish the work and merge it into master
Fixed by #17, try now
@nonyy Also, if you consider creating Docker image, I will be grateful if you'll provide it there #18. Also, try to resolve it if you are interested.
@oleksandrzelentsov Works now.
As I was learning stuff related to build automation and was looking for a small project that I was able to compile fast, I tried compiling levenstein_distance on enterprise distros in the cloud (centos7/ubuntu14.04). However, I encountered the following issue:
In order to reproduce, the following shell script requiring docker may be executed:
It seems that while the newest GCC enables C99 by default, those older versions do not. I think you can either enforce C99 (seems to be the easiest solution, as it's an old standard supported anyway) or make the code ANSI C compatible. I can provide a quick fix enforcing C99, but first let me know what do you think about this.