<?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: problem with the compiler in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/problem-with-the-compiler/m-p/543688#M8366</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TheFallGuy on Thu Nov 15 06:34:46 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I just realised that LPCXpresso does not support C++. So, adding C++ files to a C project will not work - it will try to compile with the C compiler.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There are some workarounds to getting C++ to work with LPCXpresso - you will need to search this forum to find them.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 23:18:28 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T23:18:28Z</dc:date>
    <item>
      <title>problem with the compiler</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/problem-with-the-compiler/m-p/543685#M8363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by tmltml51 on Thu Nov 15 00:34:38 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I add a c + + files in my project. when I compile them ,it&amp;nbsp; would error: expected '=', ',', ';', 'asm' or '__attribute__' before 'JPEGCamera'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;my program:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#ifndef JPEGCamera_h&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#define JPEGCamera_h&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;//#include &amp;lt;avr/pgmspace.h&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;//#include "WProgram.h"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;class JPEGCamera&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; JPEGCamera();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; void begin(void);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int reset(char * response);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int getSize(char * response, int * size);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int takePicture(char * response);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int stopPictures(char * response);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int readData(char * response, int address);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; private:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int sendCommand(const char * command, char * response, int length);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;};&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#endif&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What are its problems?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;how to solve it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:18:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/problem-with-the-compiler/m-p/543685#M8363</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: problem with the compiler</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/problem-with-the-compiler/m-p/543686#M8364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TheFallGuy on Thu Nov 15 00:59:56 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;There is nothing obviously wrong with this header file. But that is not what you are compiler being compiled. You are compiling a source file that #includes this header file, and the problem will be in that source file.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:18:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/problem-with-the-compiler/m-p/543686#M8364</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: problem with the compiler</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/problem-with-the-compiler/m-p/543687#M8365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by tmltml51 on Thu Nov 15 03:56:27 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: TheFallGuy&lt;/STRONG&gt;&lt;BR /&gt;There is nothing obviously wrong with this header file. But that is not what you are compiler being compiled. You are compiling a source file that #includes this header file, and the problem will be in that source file.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for a reply&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;my&amp;nbsp; source file format .cpp&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What are its problems?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;way to solve this problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;attachment&amp;nbsp; source..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:18:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/problem-with-the-compiler/m-p/543687#M8365</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: problem with the compiler</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/problem-with-the-compiler/m-p/543688#M8366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TheFallGuy on Thu Nov 15 06:34:46 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I just realised that LPCXpresso does not support C++. So, adding C++ files to a C project will not work - it will try to compile with the C compiler.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There are some workarounds to getting C++ to work with LPCXpresso - you will need to search this forum to find them.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:18:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/problem-with-the-compiler/m-p/543688#M8366</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:18:28Z</dc:date>
    </item>
  </channel>
</rss>

