We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello. I found this forum just now. I'm writing some lessons about C-programming. I have run gcc in Linux (Debian-based) and if there are errors in the code, I get messages describing the error, or the reason for the "crash". I just wonder, what program is dealing with the error-hints. Is it GCC or GDB, or something else?
What is this procedure called, "debug-info", "error-tracing", "syntax-hinting"?
Greetings
Ok thanks. I ran an hello world program (with printf) without having #include <stdio.h>
it said something "incompatible implicit declaration of built-in function 'printf' " and then suggested me to use stdio.h
Are those 2 from the debugger?
That last is what I meant with "syntax hinting"
Valema said:Are those 2 from the debugger?
No - those are from the compiler.
Again, the debugger only comes into play when you are actually running your program.