<?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 : Super long identifiers (Warning 4786)</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Syntax Edit : Super long identifiers (Warning 4786)]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 15 May 2026 16:06:54 +0000</pubDate>
  <lastBuildDate>Sun, 14 Oct 2007 07:19:17 +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=8427</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[Super long identifiers (Warning 4786) : Hello,   Although I like descriptive...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8427&amp;PID=27287&amp;title=super-long-identifiers-warning-4786#27287</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2223">Tomasz</a><br /><strong>Subject:</strong> 8427<br /><strong>Posted:</strong> 14 October 2007 at 7:19am<br /><br />Hello, <DIV>&nbsp;</DIV><DIV>Although I like descriptive names, I think that&nbsp;identifiers like "CXTPSyntaxEditLexVariantPtrArrayExAutomatT" used in SyntaxEdit templates are simply way to long.</DIV><DIV>There are two points against using them:</DIV><DIV>a) when used in templates they generate Warning 4786 when compiled in VC6 that can only be surpassed using #pragma in stdafx.h (because it bumps up in afxtempl.h):</DIV><DIV>g:\visualstudio6\vc98\mfc\include\afxtempl.h(63) : warning C4786: 'XTPSyntaxEditLexAnalyser::CXTPSyntaxEditLexObj_SpecCollT&lt;XTPSyntaxEditLexAnalyser::CXTPSyntaxEditLexVariantPtrArrayExAutomatT&lt;&amp;XTPSyntaxEditLexAnalyser::FnName_previous_class&gt;,XTPSyn<BR>taxEditLexAnalyser::CXTPSyntaxEditLexVariantPtrArrayExAutomatT&lt;&amp;XTPSyntaxEditLexAnalyser::FnName_previous_tag&gt;,XTPSyntaxEditLexAnalyser::CXTPSyntaxEditLexVariantPtrArrayExAutomatT&lt;&amp;XTPSyntaxEditLexAnalyser::FnName_previous_tag_separators&gt;,XTPSyntaxE<BR>ditLexAnalyser::CXTPSyntaxEditLexNULL,XTPSyntaxEditLexAnalyser::CXTPSyntaxEditLexNULL,XTPSyntaxEditLexAnalyser::CXTPSyntaxEditLexNULL,XTPSyntaxEditLexAnalyser::CXTPSyntaxEditLexNULL,XTPSyntaxEditLexAnalyser::CXTPSyntaxEditLexNULL,XTPSyntaxEditLexAna<BR>lyser::CXTPSyntaxEditLexNULL,XTPSyntaxEditLexAnalyser::CXTPSyntaxEditLexNULL&gt;' : identifier was truncated to '255' characters in the debug information<BR></DIV><DIV>b) such long names bump up DLL size significantly as each such name take space in DLL export table. Almost half of megabyte is wasted on such names.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>How about shortening:</DIV><DIV>CXTPSyntaxEdit prefix</DIV><DIV>to</DIV><DIV>CXTPSE</DIV><DIV>&nbsp;</DIV><DIV>for those helper classes?</DIV>]]>
   </description>
   <pubDate>Sun, 14 Oct 2007 07:19:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8427&amp;PID=27287&amp;title=super-long-identifiers-warning-4786#27287</guid>
  </item> 
 </channel>
</rss>