DrTimothyAldenDavis / SuiteSparse

The official SuiteSparse library: a suite of sparse matrix algorithms authored or co-authored by Tim Davis, Texas A&M University.
https://people.engr.tamu.edu/davis/suitesparse.html
Other
1.15k stars 259 forks source link

SPEX: Silence compiler warnings about unknown pragmas #700

Closed mmuetzel closed 8 months ago

mmuetzel commented 8 months ago

Compilers that don't recognize #pragma GCC (e.g., MSVC) emit warnings when they see those pragmas. Add a condition (for GCC compatible compilers like gcc, clang, icc, ...) to silence those warnings for non-GCC compatible compilers.

mmuetzel commented 8 months ago

Added a similar change to the sources for the GraphBLAS compressed JIT source file generator.