Always post ALL the code, using code tags.
The code needs to be cleaned up. This sort of junk comes from using copy/paste on web pages. Perhaps you code post a link to where you found it.
bitmap.h:1270:39: error: stray '\342' in program
Messages like this are self explanatory. The code predates the "const" requirement and must be updated.
bitmap.h:1269:58: error: variable 'bitmap_array' must be const in order to be put into read-only