How to fix an unrecognized #pragma error ?
How to fix an unrecognized #pragma error ?
Read lessSign 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.
Volt.Tech
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.
While trying to write portable code I would surround the pragma with a conditional compiler directive, e.g.: #if defined(COMPILER_1) #pragma … #endif
While trying to write portable code I would surround the pragma with a conditional compiler directive, e.g.:
#if defined(COMPILER_1)
#pragma …
#endif
See less