When compiling my C program the preprocessor outputs the .i files, which then get compiled. Then, reaching a compilation error, it's presented with the location in the .i file, not the original .c file, which is really inconvenient.
How can I make GCC show the compilation errors location in the .c files?
Thanks!