Garbage in libscf.h makes dumb compilers cry
There are some questionable things libscf.h, like the explicit cast on string literals (why?) and the fact that scf_version_t is defined as an opaque type (why?). Some compilers (like cgo) aren't smart enough to deal with this, and to be honest they shouldn't have to.
Updated by Electric Monk almost 6 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit 3db3a6b813432461e8e60af00e9ad6f0bf0d5eaf Author: Andrew Stormont <firstname.lastname@example.org> Date: 2016-10-24T15:22:12.000Z 7484 Garbage in libscf.h makes dumb compilers cry Reviewed by: Garrett D'Amore <email@example.com> Reviewed by: Sam Zaydel <firstname.lastname@example.org> Reviewed by: Kim Shrier <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>