Montag, 11. Mai 2009

Error-Driven Development

1. Compile
2. Fix errors
3. Goto 1

I like it.

daniel@daniel:~/linux-2.6.29.1$ make ARCH=um 2>&1 | grep 'error: ' | sed -e 's/.*error: //g' | sort | uniq
'EFTYPE' undeclared (first use in this function)
'FREAD' undeclared (first use in this function)
'FSCRED' undeclared (first use in this function)
'FWRITE' undeclared (first use in this function)
'LK_EXCLUSIVE' undeclared (first use in this function)
'LK_RETRY' undeclared (first use in this function)
...

1 Kommentare: