gdb: No symbol “i” in current context

It has probably been optimised out of your compiled code as you only use feature_mask[i] within the loop.

Did you specify an optimization level when you called your compiler? If you were using gcc, then just omit any -O options and try again.

Leave a Comment