133 reputation
16
bio website 127.0.0.1
location Coimbra, Portugal
age 52
visits member for 4 years
seen Mar 5 '13 at 16:58

gmail: hexkid

I have a tendency to answer what is asked rather than what is meant to be asked.

I like C, portable K&R C.
"I've earned the C++ badge" ... Strange! I don't even know C++


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 suggested 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