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 about 4 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit 3db3a6b813432461e8e60af00e9ad6f0bf0d5eaf Author: Andrew Stormont <email@example.com> Date: 2016-10-24T15:22:12.000Z 7484 Garbage in libscf.h makes dumb compilers cry Reviewed by: Garrett D'Amore <firstname.lastname@example.org> Reviewed by: Sam Zaydel <email@example.com> Reviewed by: Kim Shrier <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>