<?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>Classic/Legacy CodeWarriorのトピックRe: error C1044 Constructor required    with a struct?????</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/error-C1044-Constructor-required-with-a-struct/m-p/134047#M690</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;Are you building with option -C++?&lt;/P&gt;&lt;P&gt;This message will come if you build with C++ only.&lt;/P&gt;&lt;P&gt;I would not recommend C++ for a HC12 application. CodeWarrior Front End does not fully support C++. I would rather recommend EC++.&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 May 2006 17:29:23 GMT</pubDate>
    <dc:creator>CrasyCat</dc:creator>
    <dc:date>2006-05-02T17:29:23Z</dc:date>
    <item>
      <title>error C1044 Constructor required    with a struct?????</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/error-C1044-Constructor-required-with-a-struct/m-p/134046#M689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;Anybody have any idea why I would get an error C1044 when I am declaring a typedef of a struct.....not a class.&amp;nbsp;&amp;nbsp; This is a simple data storage structure in C....&amp;nbsp; is this a bug???&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;Thanks.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Apr 2006 01:11:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/error-C1044-Constructor-required-with-a-struct/m-p/134046#M689</guid>
      <dc:creator>Bobcat</dc:creator>
      <dc:date>2006-04-29T01:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: error C1044 Constructor required    with a struct?????</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/error-C1044-Constructor-required-with-a-struct/m-p/134047#M690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;Are you building with option -C++?&lt;/P&gt;&lt;P&gt;This message will come if you build with C++ only.&lt;/P&gt;&lt;P&gt;I would not recommend C++ for a HC12 application. CodeWarrior Front End does not fully support C++. I would rather recommend EC++.&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 May 2006 17:29:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/error-C1044-Constructor-required-with-a-struct/m-p/134047#M690</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2006-05-02T17:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: error C1044 Constructor required    with a struct?????</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/error-C1044-Constructor-required-with-a-struct/m-p/134048#M691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;First, in C++ the only difference between struct and class is the initial accessibility.&lt;BR /&gt;&lt;BR /&gt;The following is, for example not allowed in C++:&lt;BR /&gt;struct A {&lt;BR /&gt;const int c_i;&lt;BR /&gt;};&lt;BR /&gt;&lt;BR /&gt;A a;&lt;BR /&gt;&lt;BR /&gt;In C++, all const members have to be explicitely initialized.&lt;BR /&gt;The compiler wont generate anything to init them, and if they are not init, its an error....&lt;BR /&gt;&lt;BR /&gt;Here's a possible way to write it in C++:&lt;BR /&gt;struct A {&lt;BR /&gt;int i;&lt;BR /&gt;};&lt;BR /&gt;&lt;BR /&gt;const A a= {1};&lt;BR /&gt;&lt;BR /&gt;C++ is not just C, its a different language. If you want to use C, use C :smileyhappy:&lt;BR /&gt;&lt;BR /&gt;Daniel&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 May 2006 18:59:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/error-C1044-Constructor-required-with-a-struct/m-p/134048#M691</guid>
      <dc:creator>CompilerGuru</dc:creator>
      <dc:date>2006-05-07T18:59:24Z</dc:date>
    </item>
  </channel>
</rss>

