warning

Diagnostic 10182: disabling optimization; runtime debug checks enabled

Warning about using runtime checks and optimization together. All optimizations will be disabled.
  • Linux*
  • Apple Mac OS X*
  • Microsoft Windows* (XP, Vista, 7)
  • C/C++
  • Intel® C++ Compiler
  • Intel® Parallel Composer
  • error
  • warning
  • remark
  • optimization
  • Runtime check
  • Diagnostic 29: expected an expression

    Cause:
    There are many possible reasons for this diagnostic message being emitted by the Intel C++ Compiler. One is from the lambda usage in the code and the option /Qstd=c++0x (-std=c++0x for Linux* and Mac OS* X) is not specified in the compiler options.

    Example:

    t.cpp 

  • Linux*
  • Apple Mac OS X*
  • Microsoft Windows* (XP, Vista, 7)
  • C/C++
  • Intel® C++ Compiler
  • Intel® Parallel Composer
  • error
  • warning
  • remark
  • Diagnostic 15027: loop was not vectorized: condition may protect exception

    Compiler does not vectorize the loop stating "condition may protect exception".
  • Linux*
  • Apple Mac OS X*
  • Microsoft Windows* (XP, Vista, 7)
  • C/C++
  • Intel® C++ Compiler
  • Intel® Parallel Composer
  • error
  • warning
  • remark
  • Diagnostic 646: parameter of abstract class type

    Cause:
    When declaring a parameter with the type of an abstract base class

    Example:

    class CBase { virtual void foo() = 0; }; 
    class A: public CBase {
        void foo(); 
    }; 
    void testfoo(CBase b); // not allowed since the class is abstract 
    void testfoo_ok(A b); // ok 
    void testfoo_ok2(CBase* pB); // ok
    

    Command line output:

  • Linux*
  • Apple Mac OS X*
  • Microsoft Windows* (XP, Vista, 7)
  • C/C++
  • Intel® C++ Compiler
  • Intel® Parallel Composer
  • error
  • warning
  • remark
  • Diagnostic 181: argument is incompatible with corresponding format string conversion

    Compiler reports warning #181: argument is incompatible with corresponding format string conversion
  • Linux*
  • Apple Mac OS X*
  • Microsoft Windows* (XP, Vista, 7)
  • C/C++
  • Intel® C++ Compiler
  • Intel® Parallel Composer
  • error
  • warning
  • remark
  • Diagnostic 319: name followed by "::" must be a class or namespace

    Compiler reports error: name followed by "::" must be a class or namespace name
  • Linux*
  • Apple Mac OS X*
  • Microsoft Windows* (XP, Vista, 7)
  • C/C++
  • Intel® C++ Compiler
  • Intel® Parallel Composer
  • error
  • warning
  • remark
  • Страницы

    Подписаться на warning