My compiler (gcc) is giving me this warning. Please help me to understand what it means:
warning: trigraph ??/ ignored, use -trigraphs to enable
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.
You have “accidentally” written a trigraph somewhere in your source code (the compiler’s warning would pinpoint the line). Since trigraphs were invented to solve a problem that doesn’t come into play on modern systems, you don’t actually want the trigraph
??/to be replaced with the character\.Therefore, this warning should probably be ignored (you can tell the compiler to shut up by adding
-Wno-trigraphsafter-Wallin your command line; see the docs). But it would be good to show your source code so we can be sure.