<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated on Wed, 16 May 2012 13:54:48 -0700 -->
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <atom:link href="http://software.intel.com/en-us/articles/QNX-kb/type/technical-notes/feed/" rel="self" type="application/rss+xml" />
    <title>Intel Software Network articles Feed</title>
    <link>http://software.intel.com/en-us/articles/QNX-kb/type/technical-notes/</link>
    <description></description>
    <language>en-us</language>
    <item>
      <title>ICC and QNX momentics IDE integration issue for Warning level control</title>
      <description><![CDATA[ <br />
<div id="art_pre_template"><b>Problem : </b><br />  In QNX* Momentics* IDE, you can control the warning level by selecting it in Project properties -&gt; QNX C/C++ project -&gt; Compiler-&gt;Warning level. However, if you choose Intel C Compiler for compilation, the warning level is not working. You can only select Suppress to suppress all the warnings or select others to show everything.<br /><br /><b>Environment : </b><br />QNX* Momentics* version 6.4.0 and 6.4.1.<br />Intel C++ Compiler and Performance Library for QNX* Neutrino* RTOS, version 11.1<br /><br /><b>Resolution : </b><br />In QNX* Momentics* IDE, Project properties -&gt; QNX C/C++ project -&gt; compiler, add the warning control option to Intel compiler explicitly under 'Other options'. For example, to control the warning level to level 1, add option "-Wc,-w1" under "Other options'.<br /><br /><br /><br /></div> ]]></description>
      <link>http://software.intel.com/en-us/articles/icc-and-qnx-momentics-ide-integration-issue-for-warning-level-control/</link>
      <pubDate>Tue, 28 Jul 2009 09:00:00 -0700</pubDate>
      <comments>http://software.intel.com/en-us/articles/icc-and-qnx-momentics-ide-integration-issue-for-warning-level-control/#comments</comments>
      <guid isPermaLink="true">http://software.intel.com/en-us/articles/icc-and-qnx-momentics-ide-integration-issue-for-warning-level-control/</guid>
      <category>Intel C++ Compiler and Performance Library for QNX* Neutrino* RTOS Knowledge Base</category>
    </item>
    <item>
      <title>Abstract class type  not allowed as a type for parameter</title>
      <description><![CDATA[ <br />
<div id="art_pre_template"><strong>Problem : <br /></strong>I encounter an error when compiling "parameter of abstract class type "type" is not allowed", as described in http://software.intel.com/en-us/articles/cdiag646/. Does anybody know why and how to fix it?<br /><br /><strong>Environment : <br /></strong>Windows, Linux, Mac and Intel C++ compiler.<br /><br /><br /><strong>Resolution : </strong><br /><br /><br />The problem is you are trying to declare a parameter that has the type of an abstract base class.<br /><br />Abstract classes are designed to be only interfaces to real classes because they have one or<br />more pure virtual functions, i.e.:<br />class abstract {<br />virtual void foo() = 0; // pure virtual function since it is declared with = 0<br />};<br />void foo(abstract); // not allowed since the class is abstract<br /><br />The workaround would be to only use pointers or references to the abstract class as parameters, or change the type to a non-abstract class that is derived from the abstract class or change the class so it is no longer abstract, i.e. define the virtual functions instead of declaring them pure virtual.<br /><br /></div> ]]></description>
      <link>http://software.intel.com/en-us/articles/abstract-class-type-not-allowed-as-a-type-for-parameter/</link>
      <pubDate>Tue, 07 Jul 2009 00:00:00 -0700</pubDate>
      <comments>http://software.intel.com/en-us/articles/abstract-class-type-not-allowed-as-a-type-for-parameter/#comments</comments>
      <guid isPermaLink="true">http://software.intel.com/en-us/articles/abstract-class-type-not-allowed-as-a-type-for-parameter/</guid>
      <category>Intel C++ Compiler and Performance Library for QNX* Neutrino* RTOS Knowledge Base</category>
      <category>Intel® C++ Compiler for Linux* Knowledge Base</category>
      <category>Intel® C++ Compiler for Mac OS X* Knowledge Base</category>
      <category>Intel® C++ Compiler for Windows* Knowledge Base</category>
      <category>Intel® Parallel Composer Knowledge Base</category>
    </item>
    <item>
      <title>ISO/IEC Standards language conformance for Intel C++ compiler</title>
      <description><![CDATA[ The Intel C++ compiler option /Qstd=val or –std=val could be used to get the specific version of ISO/IEC standards language conformance for the compiler. <br /><br />The possible values are for “val” are given below:<br /><br />c89 - Conforms to the ISO/IEC 9899:1990 International Standard.<br /><br />c99 - Conforms to The ISO/IEC 9899:1999 International Standard.<br /><br />gnu89 - Conforms to ISO C90 plus GNU* extensions.<br /><br />gnu++98 - Conforms to the 1998 ISO C++ standard plus GNU extensions.<br /><br />c++0x - Enable support for the following C++0x features. Please refer to Intel C++ compiler documentation for details.<br /><br />The default for Intel C++ compiler 11.0 are as given below:<br /><br />-std=gnu89 - default for C, Conforms to ISO C90 plus GNU extensions.<br />-std=gnu++98 - default for C++, Conforms to the 1998 ISO C++ standard plus GNU* extensions.<br />/Qstd=c89 - Conforms to the ISO/IEC 9899:1990 International Standard.<br /><br /> ]]></description>
      <link>http://software.intel.com/en-us/articles/iso-iec-standards-language-conformance-for-intel-c-compiler/</link>
      <pubDate>Tue, 07 Jul 2009 00:00:00 -0700</pubDate>
      <comments>http://software.intel.com/en-us/articles/iso-iec-standards-language-conformance-for-intel-c-compiler/#comments</comments>
      <guid isPermaLink="true">http://software.intel.com/en-us/articles/iso-iec-standards-language-conformance-for-intel-c-compiler/</guid>
      <category>Intel C++ Compiler and Performance Library for QNX* Neutrino* RTOS Knowledge Base</category>
      <category>Intel® C++ Compiler for Linux* Knowledge Base</category>
      <category>Intel® C++ Compiler for Mac OS X* Knowledge Base</category>
      <category>Intel® C++ Compiler for Windows* Knowledge Base</category>
      <category>Intel® Parallel Composer Knowledge Base</category>
    </item>
  </channel></rss>
