remove -Werror option from sample_code