News for hackers. Stuff that matters.
Re:Automatic compilation of partially available C source code by robotresearcher on Friday April 21, 2017 @11:32AM (#14166429)
What's the right type then? There is no bool type in C90. It appears in C99.

I've seen this in the wild, including the top answer on a StackOverflow question:

#define bool int

http://stackoverflow.com/questions/4159713/how-to-use-boolea...

Besides, if you want correct code, don't ask a tool to guess it! This tool is for patching up fragments enough to get them through the compiler front end analysis.

Re:Automatic compilation of partially available C source code by Buge on Friday April 21, 2017 @09:26PM (#14170650)
Well if you care about space efficiency, char is smaller than int.