<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: externen Verweis (keine lib), missing binary operator in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/externen-Verweis-keine-lib-missing-binary-operator/m-p/624103#M24511</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the construction:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="global_data_collection.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/6422i16EB0C9EE3B9FCD2/image-size/large?v=v2&amp;amp;px=999" role="button" title="global_data_collection.PNG" alt="global_data_collection.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Andreas Kullick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Nov 2016 06:34:36 GMT</pubDate>
    <dc:creator>software_entwic</dc:creator>
    <dc:date>2016-11-01T06:34:36Z</dc:date>
    <item>
      <title>externen Verweis (keine lib), missing binary operator</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/externen-Verweis-keine-lib-missing-binary-operator/m-p/624100#M24508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;English:&lt;/P&gt;&lt;DIV class="" style="direction: ltr;"&gt;&lt;DIV&gt;&lt;SPAN class=""&gt;I&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;use&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;an&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;external&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;reference&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;to&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;a&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;global&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;data&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;in&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;my&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;project&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;collection (no&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;lib).&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;If&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;I&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;want to&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;use&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;a&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;#define&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;in&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;a&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;#if&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;a&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;==&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;x (external&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;define)&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;an&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;error&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;missing&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;comes&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;binary&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;operator&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;What&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;can&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;I&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;do&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;about it&lt;/SPAN&gt;&lt;SPAN&gt;?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Deutscher Orginaltext:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ich benutze in meinem Projekt einen externen Verweis auf eine globale Daten Sammlung(keine lib).&lt;/P&gt;&lt;P&gt;Wenn ich eine #define benutzen möchte in einem&lt;/P&gt;&lt;P&gt;#if (a == x(externer define))&lt;/P&gt;&lt;P&gt;kommt ein Fehler Missing binary Operator.&lt;/P&gt;&lt;P&gt;Was kann ich dagegen tun?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2016 06:13:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/externen-Verweis-keine-lib-missing-binary-operator/m-p/624100#M24508</guid>
      <dc:creator>software_entwic</dc:creator>
      <dc:date>2016-09-16T06:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: externen Verweis (keine lib), missing binary operator</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/externen-Verweis-keine-lib-missing-binary-operator/m-p/624101#M24509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andreas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The preprocessor does not know anything about types in the language, so it cannot cast the macro _ON inside the if expression. The `#if' directive will carry out all calculations in the widest integer type known to the compiler; on most machines supported by GCC this is 64 bits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you give us more information on what you are trying to achieve?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Hope it helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Carlos Mendoza&lt;BR /&gt;Technical Support Engineer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 15:33:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/externen-Verweis-keine-lib-missing-binary-operator/m-p/624101#M24509</guid>
      <dc:creator>Carlos_Mendoza</dc:creator>
      <dc:date>2016-10-26T15:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: externen Verweis (keine lib), missing binary operator</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/externen-Verweis-keine-lib-missing-binary-operator/m-p/624102#M24510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;C (and C++) pre-processor comparisons only works on integers, not strings. Maybe you could explain what you are trying to achieve?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 16:13:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/externen-Verweis-keine-lib-missing-binary-operator/m-p/624102#M24510</guid>
      <dc:creator>avt</dc:creator>
      <dc:date>2016-10-26T16:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: externen Verweis (keine lib), missing binary operator</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/externen-Verweis-keine-lib-missing-binary-operator/m-p/624103#M24511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the construction:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="global_data_collection.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/6422i16EB0C9EE3B9FCD2/image-size/large?v=v2&amp;amp;px=999" role="button" title="global_data_collection.PNG" alt="global_data_collection.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Andreas Kullick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2016 06:34:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/externen-Verweis-keine-lib-missing-binary-operator/m-p/624103#M24511</guid>
      <dc:creator>software_entwic</dc:creator>
      <dc:date>2016-11-01T06:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: externen Verweis (keine lib), missing binary operator</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/externen-Verweis-keine-lib-missing-binary-operator/m-p/624104#M24512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no problem with what you are trying to do. For example, this (all in a single file) works as you would expect:&lt;/P&gt;&lt;PRE&gt;&lt;P style="color: #931a68; font-size: 10px;"&gt;&lt;STRONG&gt;#define&lt;/STRONG&gt;&lt;SPAN style="color: #000000;"&gt; _ON 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 10px;"&gt;&lt;SPAN style="color: #931a68;"&gt;&lt;STRONG&gt;#define&lt;/STRONG&gt;&lt;/SPAN&gt; MY_VAR _ON&lt;/P&gt;&lt;P style="font-size: 10px;"&gt;&lt;SPAN style="color: #931a68;"&gt;&lt;STRONG&gt;#if&lt;/STRONG&gt;&lt;/SPAN&gt; MY_VAR == _ON&lt;/P&gt;&lt;P style="color: #931a68; font-size: 10px;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;#warning&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; text-decoration: underline;"&gt; ON&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #931a68; font-size: 10px;"&gt;&lt;STRONG&gt;#else&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="color: #931a68; font-size: 10px;"&gt;&lt;STRONG&gt;#warning&lt;/STRONG&gt;&lt;SPAN style="color: #000000;"&gt; OFF&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #931a68; font-size: 10px;"&gt;&lt;STRONG&gt;#endif&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;So, I can only assume that you have something wrong with your #includes. In your diagram above, does your "Using" box know about the "Predefined" box above it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2016 09:09:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/externen-Verweis-keine-lib-missing-binary-operator/m-p/624104#M24512</guid>
      <dc:creator>avt</dc:creator>
      <dc:date>2016-11-01T09:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: externen Verweis (keine lib), missing binary operator</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/externen-Verweis-keine-lib-missing-binary-operator/m-p/624105#M24513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the same file it works, but I must used an external File who it is implemented. By the external reference LPCXpresso make this error, and I don't know why.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this file is one of the first includes, after the system (&amp;lt;string.h&amp;gt; ...) libs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) system libs&lt;/P&gt;&lt;P&gt;2) data types&lt;/P&gt;&lt;P&gt;3) this file&lt;/P&gt;&lt;P&gt;4) other def&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I look again the order of this includes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Andreas Kullick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2016 09:56:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/externen-Verweis-keine-lib-missing-binary-operator/m-p/624105#M24513</guid>
      <dc:creator>software_entwic</dc:creator>
      <dc:date>2016-11-01T09:56:41Z</dc:date>
    </item>
  </channel>
</rss>

