<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
 <channel>
  <atom:link href="https://smaugmuds.afkmods.com/index.php?a=rssfeed&amp;t=4982" rel="self" type="application/rss+xml" />
  <title>SmaugMuds - Topic: Compiler issues</title>
  <link>https://smaugmuds.afkmods.com/index.php?a=rssfeed&amp;t=4982</link>
  <description>The largest Smaug community resource site. - </description>
  <language>en</language>
  <generator>SmaugMuds</generator>
  <ttl>60</ttl>
  <item>
   <title>Compiler issues</title>
   <link>https://smaugmuds.afkmods.com/topic/compiler-issues-4982/&amp;p=24289#p24289</link>
   <description>for example i changed [code] if( time_to_start &amp;gt; 1 ) { snprintf( buf1, MAX_INPUT_LENGTH, &amp;quot;&amp;amp;WThe Killing Fields are open to top_levels &amp;amp;R%d &amp;amp;Wthru &amp;amp;R%d\r\n&amp;quot;, lo_lim, hi_lim ); snprintf( buf1 + strlen( buf1 ), ( MAX_INPUT_LENGTH - strlen( buf1 ) ), &amp;quot;%s%d &amp;amp;Whours to start\r\n&amp;quot;, buf1, time_to_start ); snprintf( buf1 + strlen( buf1 ), ( MAX_INPUT_LENGTH - strlen( buf1 ) ), &amp;quot;%s\r\nType &amp;amp;Rarena &amp;amp;Wto enter.\r\n&amp;quot;, buf1 ); snprintf( </description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/compiler-issues-4982/&amp;p=24289#p24289</guid>
   <pubDate>Sat, 4 Jan 2025 19:48:47 CST</pubDate>
   <category>SWFOTE FUSS</category>
   <author>nobody@example.com (Remcon)</author>
  </item>
  <item>
   <title>Compiler issues</title>
   <link>https://smaugmuds.afkmods.com/topic/compiler-issues-4982/&amp;p=24288#p24288</link>
   <description>its because they are putting the string into itself, just remove the %s and the buf its adding since its already doing that when it does the buf1 + strlen( buf1 ), ( MAX_INPUT_LENGTH - strlen( buf1 ) ). its about like its double copying it the way it is looking anyways lol. could also just use mudstrlcat for the strings its copying.</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/compiler-issues-4982/&amp;p=24288#p24288</guid>
   <pubDate>Sat, 4 Jan 2025 19:41:36 CST</pubDate>
   <category>SWFOTE FUSS</category>
   <author>nobody@example.com (Remcon)</author>
  </item>
  <item>
   <title>Compiler issues</title>
   <link>https://smaugmuds.afkmods.com/topic/compiler-issues-4982/&amp;p=24287#p24287</link>
   <description>Yep. I ignored all of that because I didn&#039;t know how to fix it and those statements have all been working fine.</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/compiler-issues-4982/&amp;p=24287#p24287</guid>
   <pubDate>Sat, 4 Jan 2025 18:52:23 CST</pubDate>
   <category>SWFOTE FUSS</category>
   <author>nobody@example.com (Samson)</author>
  </item>
  <item>
   <title>Compiler issues</title>
   <link>https://smaugmuds.afkmods.com/topic/compiler-issues-4982/&amp;p=24282#p24282</link>
   <description>so straight downloaded and compiled [code] remcon@RonniesPC:~/swfotefuss/src$ make make -s swr Compiling o/imc.o.... Compiling o/11.o.... Compiling o/act_comm.o.... Compiling o/act_info.o.... act_info.c: In function &amp;lsquo;void do_who(CHAR_DATA*, const char*)&amp;rsquo;: act_info.c:2503:60: warning: &amp;lsquo;%s&amp;rsquo; directive output may be truncated writing up to 1023 bytes into a region of size between 2 and 4094 [-Wformat-truncation=] 2503 |       snprintf( buf, MAX_STRING_LENGTH+2, &amp;quot;%s   %s%s%</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/compiler-issues-4982/&amp;p=24282#p24282</guid>
   <pubDate>Sat, 4 Jan 2025 16:52:23 CST</pubDate>
   <category>SWFOTE FUSS</category>
   <author>nobody@example.com (Remcon)</author>
  </item>
 </channel>
</rss>
