<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="pl-pl">
<link rel="self" type="application/atom+xml" href="https://forum.atnel.pl/feed.php?f=4&amp;t=14060&amp;mode" />

<title>ATNEL tech-forum</title>
<link href="https://forum.atnel.pl/index.php" />
<updated>2016-01-02T14:17:19+01:00</updated>

<author><name><![CDATA[ATNEL tech-forum]]></name></author>
<id>https://forum.atnel.pl/feed.php?f=4&amp;t=14060&amp;mode</id>
<entry>
<author><name><![CDATA[rskup]]></name></author>
<updated>2016-01-02T14:17:19+01:00</updated>
<published>2016-01-02T14:17:19+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=14060&amp;p=149415#p149415</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=14060&amp;p=149415#p149415"/>
<title type="html"><![CDATA[Re: Warning iteration 22u invokes undefined behavior]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=14060&amp;p=149415#p149415"><![CDATA[
Dodałem Ci wyżej linka, z opisaną przez Mirka tą zasadą.<br /><br />-- <br />Pozdrawiam,<br />Robert<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=3427">rskup</a> — 2 sty 2016, o 14:17</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[xamrex]]></name></author>
<updated>2016-01-02T14:14:48+01:00</updated>
<published>2016-01-02T14:14:48+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=14060&amp;p=149414#p149414</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=14060&amp;p=149414#p149414"/>
<title type="html"><![CDATA[Re: Warning iteration 22u invokes undefined behavior]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=14060&amp;p=149414#p149414"><![CDATA[
Dzięki. pomogło <img src="https://forum.atnel.pl/images/smilies/icon_e_wink.gif" alt=";-)" title="Puszcza oko" /><p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=74">xamrex</a> — 2 sty 2016, o 14:14</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[rskup]]></name></author>
<updated>2016-01-02T14:15:22+01:00</updated>
<published>2016-01-02T14:13:45+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=14060&amp;p=149413#p149413</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=14060&amp;p=149413#p149413"/>
<title type="html"><![CDATA[Re: Warning iteration 22u invokes undefined behavior]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=14060&amp;p=149413#p149413"><![CDATA[
A nie jest to wina domyślnej promocji do int <a href="http://atnel.pl/domyslna-promocja-do-typu-int.html"  class="postlink">http://atnel.pl/domyslna-promocja-do-typu-int.html</a>?<br />Daj[syntax=c]kopiujzSDnaRAM((unsigned long)1452*i);[/syntax]<br /><br />-- <br />Pozdrawiam,<br />Robert<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=3427">rskup</a> — 2 sty 2016, o 14:13</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[xamrex]]></name></author>
<updated>2016-01-02T13:48:42+01:00</updated>
<published>2016-01-02T13:48:42+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=14060&amp;p=149412#p149412</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=14060&amp;p=149412#p149412"/>
<title type="html"><![CDATA[Warning iteration 22u invokes undefined behavior]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=14060&amp;p=149412#p149412"><![CDATA[
Witam<br />Mam problem z wyskakującym warningiem (program działa, ale chciałbym się dowiedzieć jak sie jego pozbyć).<br /><span style="text-decoration: underline">Proszę się nie zastawiać nad sensem funkcji,,, to jest tylko poglądowo</span><br /><br />Mam taki kod:<br />[syntax=c]#include &lt;avr/io.h&gt;<br />#include &quot;LCD/lcd44780.h&quot;<br /><br />void kopiujzSDnaRAM(unsigned long przesuniecie);<br /><br />int main(void){<br /><br />for(uint8_t i =1; i&lt;24;i++){<br />kopiujzSDnaRAM(1452*i);<br />}<br /><br />}<br /><br />void kopiujzSDnaRAM(unsigned long przesuniecie){<br />lcd_locate(0,0);<br />}[/syntax]<br />Eclips nie sypie żadnymi warningami.<br />Natomiast jeśli zmienię iterację z 24 na 25, to otrzymuję erorr:<br /><a href="https://obrazkiforum.atnel.pl/74/dc5e7b348e842e922d85de9b68b30bf2.png"  class="postlink"><img src="https://obrazkiforum.atnel.pl/thumb/74/dc5e7b348e842e922d85de9b68b30bf2.png" alt="Obrazek" /></a><br /><br />Jeśli 'z buta' wpiszę wartosć 25*1452 = 36300 to co zaskakujące również nie ma warningu:<br /><a href="https://obrazkiforum.atnel.pl/74/0469303b6d1e9113ef46805398af86c9.PNG"  class="postlink"><img src="https://obrazkiforum.atnel.pl/74/0469303b6d1e9113ef46805398af86c9.PNG" alt="Obrazek" /></a><br /><br />Ktoś wie skąd pojawia się ten warning i jak go wyłączyć?<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=74">xamrex</a> — 2 sty 2016, o 13:48</p><hr />
]]></content>
</entry>
</feed>