🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fr.comp.lang.c
Article #15297

Re: Re: Tableau: différence entre pile et tas

#15297
From: Emmanuel Delahaye
Date: Sat, 01 Oct 2005 08:53
30 lines
2235 bytes
(supersedes <mn.0a3e7d5abbfd95b0.15512@YOURBRAnoos.fr>)

Harpo wrote on 30/09/05 :
> Emmanuel Delahaye wrote:
>
>> Please, pas de mauvaises habitudes. Objet > 10 bytes -> m�moire
>> allou�e. Point.
>
> Pour moi, c'est g�n�ralement au-dessus de 4000 et quelques. Sauf dans
> les fonctions r�cursives, de cours.

Ce serait interessant que ce soit contr�lable par le compilateur, genre

-Wmax-auto-object-size=<n>

avec n 1..65536

-Wmax-auto-object-size=32

main.c:42 Warning: The size of local object 
'mechant_tableau_de_la_mort' exceeds 32 bytes.


-- 
Emmanuel
The C-FAQ: http://www.eskimo.com/~scs/C-faq/faq.html
The C-library: http://www.dinkumware.com/refxc.html

 "It's specified. But anyone who writes code like that should be
transmogrified into earthworms and fed to ducks." -- Chris Dollin CLC
Technical Details
Message-ID: <mn.0a8d7d5a109bd49e.15512@YOURBRAnoos.fr>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!infeed-4.proxad.net!news18-e.free.fr!not-for-mail
References: <1127923112.347881.79740@z14g2000cwz.googlegroups.com> <433c3502$0$17236$8fcfb975@news.wanadoo.fr> <1128062877.527491.168280@g49g2000cwa.googlegroups.com> <433d1e98$0$5409$8fcfb975@news.wanadoo.fr> <1128080997.753599.258340@g49g2000cwa.googlegroups.com> <mn.f3ba7d592302afb8.31483@laposte.net> <1128095986.321098.217870@g47g2000cwa.googlegroups.com> <dhjoah$bd4$1@shakotay.alphanet.ch> <mn.f4f37d59af0a936c.15512@YOURBRAnoos.fr> <433d902b$0$7830$8fcfb975@news.wanadoo.fr>

Show Full Headers
Complete Article Headers
X-Google-Thread: f9822,9ee84542aed426f5
X-Google-Attributes: gidf9822,public
X-Google-Language: ENGLISH,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!infeed-4.proxad.net!news18-e.free.fr!not-for-mail
Subject: Re: Re: Tableau: différence entre pile et tas
From: "Emmanuel Delahaye" <emdel@YOURBRAnoos.fr>
References: <1127923112.347881.79740@z14g2000cwz.googlegroups.com> <433c3502$0$17236$8fcfb975@news.wanadoo.fr> <1128062877.527491.168280@g49g2000cwa.googlegroups.com> <433d1e98$0$5409$8fcfb975@news.wanadoo.fr> <1128080997.753599.258340@g49g2000cwa.googlegroups.com> <mn.f3ba7d592302afb8.31483@laposte.net> <1128095986.321098.217870@g47g2000cwa.googlegroups.com> <dhjoah$bd4$1@shakotay.alphanet.ch> <mn.f4f37d59af0a936c.15512@YOURBRAnoos.fr> <433d902b$0$7830$8fcfb975@news.wanadoo.fr>
Newsgroups: fr.comp.lang.c
Message-ID: <mn.0a8d7d5a109bd49e.15512@YOURBRAnoos.fr>
Supersedes: <mn.0a3e7d5abbfd95b0.15512@YOURBRAnoos.fr>
X-Newsreader: MesNews/1.04.00.00-fr
Date: Sat, 01 Oct 2005 10:53:54 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-15"; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 32
Organization: Guest of ProXad - France
NNTP-Posting-Date: 01 Oct 2005 10:53:55 MEST
NNTP-Posting-Host: 81.65.109.78
X-Trace: 1128156835 news18-e.free.fr 4299 81.65.109.78:15109
X-Complaints-To: abuse@proxad.net