Reputation
Top tag
Next privilege 200 Rep.
See reduced ads
Badges
1 6
Newest
 Supporter
Impact
0 people reached

Feb
18
comment Why is it so difficult to fix buffer overflows?
As you say ... it isn't difficult to write code that avoids buffer overflows in the first place: it's only hard(ish) because it requires knowledge and attention. Fixing is harder: usually the fixer isn't the person who wrote the code, has to study the code base, ...
Dec
9
comment Clang warning flags for Objective-C development
For C and gcc, -Wwrite-strings makes it a compiler of a language very similar but not exactly C. For that reason alone I don't use that option. Other than the ones you specify, I use -pedantic -Wstrict-overflow=5 -Winline -Wundef -Wcast-qual -Wlogical-op -Wstrict-aliasing=2 and -Wno-missing-braces -Wno-missing-field-initializers for the perfectly reasonable initializer struct whatever obj = {0};. Also I find that -Wconversion gives more "spam" than useful warnings :)
Jun
23
awarded  Supporter
May
16
awarded  Editor
May
16
revised What is the history of the C compiler?
fixed link
May
16
suggested approved edit on What is the history of the C compiler?
May
7
answered Why declare a variable in one line, and assign to it in the next?
Mar
26
awarded  Mortarboard
Mar
26
awarded  Good Answer
Mar
26
awarded  Nice Answer
Mar
26
awarded  Teacher
Nov
5
awarded  Autobiographer