From: Anand Ganesh <anandg@cs.utexas.edu>
To: help-gcc@gnu.org
Subject: memory allocation
Date: Tue, 30 Nov 1999 23:28:00 -0000 [thread overview]
Message-ID: <Pine.SGI.4.10.9911040409470.31041-100000@whirlwind.cs.utexas.edu> (raw)
Message-ID: <19991130232800.o5RX5tsG7mQXoUk9M1igq036lwNV5jdFAFdFADp3GkM@z> (raw)
Hi,
Why doesnt gcc crib when I make an array declaration that it cant
handle ?
eg
float array[10000][5][5];
That there is a problem I realised b'cos some unrelated variables were
getting changed. The reason I declared such an array instead of mallocing
is that it is easier to pass 3D arrays rather than float*** which you cant
use as a 3D array anymore (since dimensions are not known).
Is there a way to get a warning from gcc ? (I did gcc -Wall)
Thanks in advance for any help,
ag.
next reply other threads:[~1999-11-30 23:28 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-11-04 2:15 Anand Ganesh [this message]
1999-11-04 3:00 ` Martin Kahlert
1999-11-30 23:28 ` Martin Kahlert
1999-11-04 6:16 ` Arthur Gold
1999-11-05 14:01 ` Anand Ganesh
1999-11-30 23:28 ` Anand Ganesh
1999-11-30 23:28 ` Arthur Gold
1999-11-30 23:28 ` Anand Ganesh
2003-09-13 15:00 Dan Kegel
[not found] <CANEcUBX9ntHdZ7qEJg7ke=MADcxfP_uOwNnA==XvKbf3kyH1Lw@mail.gmail.com>
[not found] ` <CAKOQZ8zsfKUFv0PDhUmDWDgqD9p-xMYUfW_eR9B-TWx5yjmjeQ@mail.gmail.com>
2013-09-19 1:04 ` zhaobin xv
2013-09-19 2:38 ` Ian Lance Taylor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.SGI.4.10.9911040409470.31041-100000@whirlwind.cs.utexas.edu \
--to=anandg@cs.utexas.edu \
--cc=help-gcc@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).