[Discussion] Linting the RTS code
While looking at @bgamari's commment on !5119 (comment 334267) I realised we could try and automate the detection of bad citizens in our RTS C code. Tools like cpplint or oclint exist and could be used to warn us about those things. This feels like a better solution than having to re-define those functions like this:
#define usleep(_) #pragma error("NO!")
Candidates for exclusion could be
usleep
-
assert
(in favour ofASSERT
)
Edited by Hécate Kleidukos