Replace _Bool with bool in C interface headers for C++ compatibility
_Bool is a C11 keyword that is not recognized by C++ compilers, causing build failures when PSBLAS headers are included from C++. The headers already include <stdbool.h> (via psb_c_base.h) which defines bool as a portable alias, so use bool instead of _Bool. This fixes errors like: error: unknown type name '_Bool' in psb_c_dsprn(), psb_c_ssprn(), psb_c_csprn(), psb_c_zsprn().pull/42/head
parent
d7f3bf536d
commit
36704e640b
Loading…
Reference in New Issue