Documentation and changes for ansi/pedantic and Werror