CCL icon indicating copy to clipboard operation
CCL copied to clipboard

ENH clean out the C layer warnings

Open beckermr opened this issue 5 years ago • 3 comments

Right now we have a lot of C layer warnings which are

  • not descriptive
  • not correct
  • override other warnings so that the error is not clear at the python layer
  • inconsistent usage of ccl_cosmology_set_status_message

We need to clean this up and make sure everything is correct.

One thing that might be good to do is to use various C macros to denote the file and line number. This will ease the burden of listing the function name in the string. Also, C99 has a standard function name macro that we can use as well.

beckermr avatar Aug 19 '19 13:08 beckermr

@beckermr is this resolved by the above merged PR?

c-d-leonard avatar Mar 20 '20 13:03 c-d-leonard

Nope. This is still a big issue in the library. The above PR is where we made this issue.

beckermr avatar Mar 20 '20 13:03 beckermr

Ah okay thanks, sorry.

c-d-leonard avatar Mar 20 '20 13:03 c-d-leonard