I was able to compile and link the SuiteSparse GraphBLAS library and create a simple sparse matrix wrapper with no problems, which is amazing given that it's thousands of symbols, dpp is pretty cool!
I'm sorry I've only been using D for a few days, so I'm not entirely clear on what is wrong with the definition. I have a workaround for it but figured I'd point it out. Thanks!
I was able to compile and link the SuiteSparse GraphBLAS library and create a simple sparse matrix wrapper with no problems, which is amazing given that it's thousands of symbols, dpp is pretty cool!
https://github.com/michelp/Daphony/blob/main/src/main.dpp
but when using the library macro
GxB_INDEX_MAX
I get the following error:So instead I hardcode that constant:
https://github.com/michelp/Daphony/blob/main/src/suitesparse.dpp#L3
the C definition for the macro is here:
https://github.com/DrTimothyAldenDavis/GraphBLAS/blob/stable/Include/GraphBLAS.h#L262
and it gets converted to D as:
I'm sorry I've only been using D for a few days, so I'm not entirely clear on what is wrong with the definition. I have a workaround for it but figured I'd point it out. Thanks!