News for hackers. Stuff that matters.
Re:LibBF – a small library to handle arbitrary precision flo... by SloopJon on Tuesday March 06, 2018 @04:53PM (#16532413)
For Mac users trying this at home, I made the following changes to build and run the tinypi tests on Sierra:

1. Comment out the malloc.h include in tinypi.c.

2. Add -Wno-unused-function to CFLAGS.

3. Use shasum, rather than sha1sum, in the test target.

Re:LibBF – a small library to handle arbitrary precision flo... by wnoise on Tuesday March 06, 2018 @05:48PM (#16532795)
Having malloc.h as an include is bizarre, anyway. The standard location for malloc and related functions is stdlib.h, and removing that include should let it still compile on any reasonable platform.