How can I compile without warnings being treated as errors? December 21, 2022 by Tarik Sure, find where -Werror is set and remove that flag. Then warnings will be only warnings.