<?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>LPCXpresso IDEのトピックRe: LPC 1343, Preprocessor '#error' does not pass compilation</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-1343-Preprocessor-error-does-not-pass-compilation/m-p/563653#M17217</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mdkendall on Mon Mar 12 14:53:43 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;#error is not supposed to "pass compilation", it is supposed to generate an error; that is the whole point of it. You would use it to trap compile-time problems such as not having defined a required macro, or having defined inconsistent or unsupported values for macros.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 02:16:14 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T02:16:14Z</dc:date>
    <item>
      <title>LPC 1343, Preprocessor '#error' does not pass compilation</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-1343-Preprocessor-error-does-not-pass-compilation/m-p/563652#M17216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lsbach_plum on Mon Mar 12 14:45:29 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if anyone can use this directive? I have followed the description in the manual (although there could see a '# echo'). So my code looks like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;#if SYSTEM_CORE_CLOCK_24MHz

#error System core clock = 24 MHz

#define SYSTEM_CORE_CLOCK&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 24000000&amp;nbsp;&amp;nbsp;&amp;nbsp; //24MHz

#elif ....&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;lsbach&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:16:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-1343-Preprocessor-error-does-not-pass-compilation/m-p/563652#M17216</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: LPC 1343, Preprocessor '#error' does not pass compilation</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-1343-Preprocessor-error-does-not-pass-compilation/m-p/563653#M17217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mdkendall on Mon Mar 12 14:53:43 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;#error is not supposed to "pass compilation", it is supposed to generate an error; that is the whole point of it. You would use it to trap compile-time problems such as not having defined a required macro, or having defined inconsistent or unsupported values for macros.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:16:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-1343-Preprocessor-error-does-not-pass-compilation/m-p/563653#M17217</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: LPC 1343, Preprocessor '#error' does not pass compilation</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-1343-Preprocessor-error-does-not-pass-compilation/m-p/563654#M17218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by atomicdog on Mon Mar 12 18:03:21 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Please try to explain what you want to do.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe you want something like...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;#if SYSTEM_CORE_CLOCK_24MHz

#pragma message "System core clock = 24 MHz"

#define SYSTEM_CORE_CLOCK&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 24000000&amp;nbsp;&amp;nbsp;&amp;nbsp; //24MHz

#elif ....&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:16:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-1343-Preprocessor-error-does-not-pass-compilation/m-p/563654#M17218</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: LPC 1343, Preprocessor '#error' does not pass compilation</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-1343-Preprocessor-error-does-not-pass-compilation/m-p/563655#M17219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lsbach_plum on Mon Mar 12 21:52:43 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I wanted the message appeared in stdrerr. At what point will appear if I use the directive '# pragma message'?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:16:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-1343-Preprocessor-error-does-not-pass-compilation/m-p/563655#M17219</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: LPC 1343, Preprocessor '#error' does not pass compilation</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-1343-Preprocessor-error-does-not-pass-compilation/m-p/563656#M17220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by atomicdog on Mon Mar 12 21:58:30 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: lsbach_plum&lt;/STRONG&gt;&lt;BR /&gt;At what point will appear if I use the directive '# pragma message'?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At the compiler output just like #warning and #error.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:16:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-1343-Preprocessor-error-does-not-pass-compilation/m-p/563656#M17220</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: LPC 1343, Preprocessor '#error' does not pass compilation</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-1343-Preprocessor-error-does-not-pass-compilation/m-p/563657#M17221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lsbach_plum on Mon Mar 12 23:49:56 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for your help&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:16:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-1343-Preprocessor-error-does-not-pass-compilation/m-p/563657#M17221</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:16:17Z</dc:date>
    </item>
  </channel>
</rss>

