- If any, what are the (obviously ignored by GCC) comments below called?
- How do I get rid of them?
Here:
eisbaw@leno:~/GCC$ cpp < /dev/null
# 1 "<stdin>"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "<stdin>"
eisbaw@leno:~/GCC$
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
They are called linemarkers and you can use
-Pto havecpporgccomit them.They are described in the Preprocessor Output section of the
cppmanual.And I agree with user30997 that you probably don’t want to get rid of them. They are ignored by
gccin the sense that they do not affect the compilation process, but they do provide useful diagnostic information when your code does not compile correctly.