suppress warnings

This commit is contained in:
Gabriel Wang 2024-02-28 19:16:54 +00:00
parent 8dec9ab04b
commit 4371959621

View File

@ -22,6 +22,15 @@ Original Author: Shay Gal-on
*/
#include "coremark.h"
#if defined(__clang__)
# pragma clang diagnostic ignored "-Wunknown-warning-option"
# pragma clang diagnostic ignored "-Wreserved-identifier"
# pragma clang diagnostic ignored "-Wconditional-uninitialized"
# pragma clang diagnostic ignored "-Wsign-conversion"
# pragma clang diagnostic ignored "-Wimplicit-int-conversion"
#endif
/* Function: iterate
Run the benchmark for a specified number of iterations.