<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Compile errors in GdiPlus</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Compile errors in GdiPlus]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 08 Jun 2026 01:20:06 +0000</pubDate>
  <lastBuildDate>Fri, 24 Jul 2020 08:51:44 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=24023</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Compile errors in GdiPlus : CodeJock compiles just fine for...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24023&amp;PID=77787&amp;title=compile-errors-in-gdiplus#77787</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> 24023<br /><strong>Posted:</strong> 24 July 2020 at 8:51am<br /><br /><div>CodeJock compiles just fine for us. It is downstream code that can fail to compile and that depends on the code and everything it includes.</div><div><br></div><div>In any case, the source I changed used "BYTE" all over the place, including the one routine that used "byte" when allocating an array. There are a number of tricks/workarounds one can try. But the number of projects we have that had the issue made it easier to just change the CJ code.</div><div><br></div><div>I didn't flip the CJ c++ setting to 17 to see if CJ would fail to compile.<br></div>]]>
   </description>
   <pubDate>Fri, 24 Jul 2020 08:51:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24023&amp;PID=77787&amp;title=compile-errors-in-gdiplus#77787</guid>
  </item> 
  <item>
   <title><![CDATA[Compile errors in GdiPlus : Wouldn&amp;#039;t this only be a problem...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24023&amp;PID=77783&amp;title=compile-errors-in-gdiplus#77783</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9372">dbrookes</a><br /><strong>Subject:</strong> 24023<br /><strong>Posted:</strong> 23 July 2020 at 1:42am<br /><br /><div>Wouldn't this only be a problem where <table width="99%"><tr><td><pre class="BBcode">using namespace std;</pre></td></tr></table> or <table width="99%"><tr><td><pre class="BBcode">using std::byte;</pre></td></tr></table> is used? Or am I wrong about that?</div><div><br></div><div>We moved our project to C++17 recently and didn't have this problem. We compile ToolkitPro with the default language standard level.</div>]]>
   </description>
   <pubDate>Thu, 23 Jul 2020 01:42:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24023&amp;PID=77783&amp;title=compile-errors-in-gdiplus#77783</guid>
  </item> 
  <item>
   <title><![CDATA[Compile errors in GdiPlus : I finally just edited the GdfiPlus.h...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24023&amp;PID=77782&amp;title=compile-errors-in-gdiplus#77782</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> 24023<br /><strong>Posted:</strong> 22 July 2020 at 5:26pm<br /><br /><div>I finally just edited the GdfiPlus.h file. The code uses "BYTE" in every place but the one that won't compile. I modified that call to allocate memory from "byte" to "BYTE" and I can compile.</div><div><br></div><div>CJ should probably do the same since the file uses BYTE everyone but one place just to be consistent and avoid this c++ 17 issue.</div><div><br></div><div>I didn't have an issue compiling the toolkit but I see it uses c++ "default" instead of c++ 17. I didn't flip that switch either to see if CJ would fail to compile as we use 17 but CJ doesn't need to in 19.2.</div>]]>
   </description>
   <pubDate>Wed, 22 Jul 2020 17:26:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24023&amp;PID=77782&amp;title=compile-errors-in-gdiplus#77782</guid>
  </item> 
  <item>
   <title><![CDATA[Compile errors in GdiPlus : We have moved to vc 17 and have...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24023&amp;PID=77780&amp;title=compile-errors-in-gdiplus#77780</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> 24023<br /><strong>Posted:</strong> 21 July 2020 at 9:08am<br /><br /><div>We have moved to vc 17 and have encountered an error:</div><div><br></div><div>1&gt;y:\Codejock\Source\GraphicLibrary\GdiPlus\GdiplusPath.h(133,1): error C2872: 'byte': ambiguous symbol<br>1&gt;C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\shared\rpcndr.h(191,23): message : could be 'unsigned char byte'<br>1&gt;C:\apps\MVS16\VC\Tools\MSVC\14.26.28801\include\cstddef(29,12): message : or&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'std::byte'<br></div><div><br></div><div>I found this post regarding the issue which contains some suggestions: <br></div><div><br></div><div><a href="https://developercommunity.visualstudio.com/c&#111;ntent/problem/93889/error-c2872-byte-ambiguous-symbol.html" target="_blank" rel="nofollow">https://developercommunity.visualstudio.com/content/problem/93889/error-c2872-byte-ambiguous-symbol.html</a></div><div><br></div><div>I have had issues before with CJ's GdiPlus and have avoided them by adding #define _GDIPLUSPATH_H to files that encounter issues and which have nothing to do with either CodeJock or CodeJock's GdiPlus. In this case, there are so many CJ "Gdi" include files that are full of source code that I feel defining include guards is not a sustainable methodology.</div><div><br></div><div>CJ might want to look into changing code as per the above link to help us avoid this issue or, more desirable from my viewpoint, simply restructure GdiPlus so that the code is encapsulated in cpp files instead of include files. That should completely avoid the issue for downstream files that might need a bit of CJ in them but no GdiPlus (how many DLLs is this code being compiled into for no reason). When we want to use GdiPlus (and we do use it), we are just fine using the Microsoft implementation.<br></div><div><br></div>]]>
   </description>
   <pubDate>Tue, 21 Jul 2020 09:08:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24023&amp;PID=77780&amp;title=compile-errors-in-gdiplus#77780</guid>
  </item> 
 </channel>
</rss>