<?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=19101&amp;mode" />

<title>ATNEL tech-forum</title>
<link href="https://forum.atnel.pl/index.php" />
<updated>2017-08-30T23:20:30+01:00</updated>

<author><name><![CDATA[ATNEL tech-forum]]></name></author>
<id>https://forum.atnel.pl/feed.php?f=4&amp;t=19101&amp;mode</id>
<entry>
<author><name><![CDATA[mirekk36]]></name></author>
<updated>2017-08-30T23:20:30+01:00</updated>
<published>2017-08-30T23:20:30+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=19101&amp;p=194259#p194259</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=19101&amp;p=194259#p194259"/>
<title type="html"><![CDATA[Re: Problem podczas kompilacji PetitFS]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=19101&amp;p=194259#p194259"><![CDATA[
-Wstrict-aliasing=1<br /><br />a nie<br /><br />Wstrict-aliasing=1<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=54">mirekk36</a> — 30 sie 2017, o 23:20</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[zb111112]]></name></author>
<updated>2017-08-30T22:30:44+01:00</updated>
<published>2017-08-30T22:30:44+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=19101&amp;p=194257#p194257</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=19101&amp;p=194257#p194257"/>
<title type="html"><![CDATA[Problem podczas kompilacji PetitFS]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=19101&amp;p=194257#p194257"><![CDATA[
Witam, chciałbym uruchomić bibliotekę PetitFS na Atmedze32, lecz napotkałem na taki problem że podczas kompilacji wyskakuje mi dużo warningów dotyczących aliasingu:<br />[syntax=c]warning: dereferencing type-punned pointer will break strict-aliasing rules &#91;-Wstrict-aliasing&#93;[/syntax]<br /><br />Aby pozbyć się tych błędów znalazłem na internecie rozwiązanie aby w opcjach kompilatora dodać :Wstrict-aliasing=1.<br />Po tym jak to zrobiłem warningów już nie ma. Natomiast konsolidator wysłał mi następujący błąd w konsoli:<br />[syntax=c]Invoking: AVR Compiler<br />avr-gcc -Wall -Os -fpack-struct -fshort-enums -ffunction-sections -fdata-sections Wstrict-aliasing=1 -std=gnu99 -funsigned-char -funsigned-bitfields -mmcu=atmega32 -DF_CPU=8000000UL -MMD -MP -MF&quot;PetitFS/mmc.d&quot; -MT&quot;PetitFS/mmc.d&quot; -c -o &quot;PetitFS/mmc.o&quot; &quot;../PetitFS/mmc.c&quot;<br />avr-gcc.exe: error: Wstrict-aliasing=1: No such file or directory<br />make: *** &#91;PetitFS/mmc.o&#93; Błąd 1[/syntax]<br />Nie wiem dlaczego proces kompilacji nie chce się zakończyć. Prosiłbym o pomoc.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=15085">zb111112</a> — 30 sie 2017, o 22:30</p><hr />
]]></content>
</entry>
</feed>