In VHDL function hamming_encoder_31bit lines end badly, without closing parenthises). This happens with only some hamming codes lengths, eg. 30, parity bit 3.
Could it be at line 259 in hamm_sec_gen.cpp?
Same here. Usually with odd bitcounts.