You can not modify a constant. Or more appropriately you are not supposed to, and not supposed to be able to. All i can assume is that you were compiling with an older version of gcc when using redhat and ubuntu contains a newer version, and thus contains new default rules enabled when compiling.
Decided to move to Ubuntu 11.04 and now I get an error I cannot figure out.
data_h.c:92:7: error: assignment of read-only location 'skill_table[(int)count]'
merc.h contains
while the data_h.c contains:
With line 92 being the REMOVE_BIT line.
I'm a little absent minded on why this error is happening. can someone explain why?
Thanks!