[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
I'm working on an import of a giant pile of code, and ran into the
following build error:
drm_gem.c:987:23: error: macro "free" requires 2 arguments, but only 1 given
This was confusing for a bit, but apparently is due to sys/malloc.h:
#define free(addr, type) kern_free(addr)
This feels like a recipe for subtle bugs.
What's our plan for this code?
Main Index |
Thread Index |