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.11k stars 256 forks source link

GraphBLAS: Limit scope of extern "C" block to function declarations. #813

Closed mmuetzel closed 1 month ago

mmuetzel commented 1 month ago

Headers (especially headers from the standard library) shouldn't be included in extern "C" blocks. These blocks are only really needed for function declarations.

Limit the scope of the extern "C" block in GraphBLAS.h to where it's really needed.

This should hopefully avoid the build error when using LLVM libc++ as the standard library.