Quantcast
Viewing all articles
Browse latest Browse all 22022

GCC shows compilation error location in the .i file, how can I make it show the location in the .c file? [closed]

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!


Viewing all articles
Browse latest Browse all 22022

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>