remove warning about missing 'const' support from docs and fix advice on declaring macros as 'enum' (which works only for ints)
merge 0.18.x branch into master