locked
Disable error reporting for error directive (#error) RRS feed

  • Question

  • Hello,

    I'm enjoying the new features of VS2010 especially the IntelliSense Error Reporting (or I you say background compiling / syntax checking).

    Unfortunately I didn't get rid of one error message.

    #define LABEL

    #ifndef LABEL

    #error "This line is always squiggled"

    #endif

     The #error-directive is always announced as an error. Is there are possiblity to switch this error message (and only this) off?

     

    Thanks and happy coding.

    • Moved by Brittany Behrens Tuesday, May 11, 2010 2:20 AM (From:Visual Studio Editor)
    Tuesday, May 4, 2010 10:06 AM

Answers

All replies