moses-smt / salm

SALM: Suffix Array and its Applications in Empirical Language Processing by Joy
GNU General Public License v2.0
11 stars 5 forks source link

new g++ compilation #1

Closed flammie closed 6 years ago

flammie commented 6 years ago

The code doesn't compile out of the box with gcc-6.4.0 anymore, I had to change the fstream==NULL comparisons to (!fstream), based on https://stackoverflow.com/questions/32589155/stdofstream-null-wont-compile-for-std-gnu11-any-workaround

hieuhoang commented 6 years ago

please create a pull request so others won't trip over it

hieuhoang commented 6 years ago

fixed https://github.com/moses-smt/salm/pull/2