🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.c
Article #309567

Re: Pewne ostrzeżenie podczas kompilacji ...

#309567
From: Piotr Gałka
Date: Thu, 04 Jan 2018 18:19
12 lines
1538 bytes
W dniu 2018-01-04 o 19:11, AK pisze:
> Niekoniecznie.
> Wystarczylo by aby sizeof(Enum) zwracal ilosc enumow a nie dlugosc 
> elementu Enum.
> No srednio by to bylo spojne z sizeof(Klasa), ale byc moze warte tego 
> odstepstwa ?
> 

A dla:
enum Flags{Flag0=0x01,Flag1=0x02,Flag2=0x04,Flag3=0x08};
jakie byłoby sizeof(Flags)?
P.G.
Technical Details
Message-ID: <p2lr84$fnm$1$PiotrGalka@news.chmurka.net>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!news.chmurka.net!.POSTED.213.192.88.238!not-for-mail
References: <2ffc816a-0dae-4f63-a1ee-7a8b5f98ca94@googlegroups.com> <328c7d69-5f41-4564-8bd1-5a7c041c3db7@googlegroups.com> <730b0e72-195b-43b7-aeed-60776845daff@googlegroups.com> <5a4d30a3$0$658$65785112@news.neostrada.pl> <ae6bde7f-1785-4929-8a2e-562fc57201ab@googlegroups.com> <p2lqoe$kfr$1@gioia.aioe.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!news.chmurka.net!.POSTED.213.192.88.238!not-for-mail
From: Piotr Gałka <piotr.galka@cutthismicromade.pl>
Newsgroups: pl.comp.lang.c
Subject: Re: Pewne ostrzeżenie podczas kompilacji ...
Date: Thu, 4 Jan 2018 19:19:52 +0100
Organization: news.chmurka.net
Message-ID: <p2lr84$fnm$1$PiotrGalka@news.chmurka.net>
References: <2ffc816a-0dae-4f63-a1ee-7a8b5f98ca94@googlegroups.com> <328c7d69-5f41-4564-8bd1-5a7c041c3db7@googlegroups.com> <730b0e72-195b-43b7-aeed-60776845daff@googlegroups.com> <5a4d30a3$0$658$65785112@news.neostrada.pl> <ae6bde7f-1785-4929-8a2e-562fc57201ab@googlegroups.com> <p2lqoe$kfr$1@gioia.aioe.org>
NNTP-Posting-Host: 213.192.88.238
Mime-Version: 1.0
Injection-Date: Thu, 4 Jan 2018 18:19:48 +0000 (UTC)
Injection-Info: news.chmurka.net; posting-account="PiotrGalka"; posting-host="213.192.88.238"; logging-data="16118"; mail-complaints-to="abuse-news.(at).chmurka.net"
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2
In-Reply-To: <p2lqoe$kfr$1@gioia.aioe.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit