🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #29860

big arrays in MW C

#29860
From: Todd Burkey
Date: Sat, 26 Dec 1987 04:24
21 lines
1319 bytes
Hi,
  Does anyone know if MWC will safely handle large arrays now? I know
that I had problems in the early versions with HDSCAN's arrays in that
I had to keep the total amount of data in a particular array less than
32K bytes. Now when I compile tests (i.e. a char[10000][12]), I get a
message like:
  strict: size of array overflows size_t
which doesn't make sense, since size_t is a long if I remember correctly.
Somewhat confusing (and frustrating now that my manual is out of phase with
the newer version of the compiler that I got recently.)

What I really want to do is fold my Unix version of HDSCAN back into the
ST version, and preferably with MW C. If it looks like it will be too much
of a mess, I will probably wait for the new version of Megamax, since that
sounds somewhat promising as well.  (Yes, the Unix version is done...I
am mailing the source code to comp.sources.misc next week. Supports both
BSD and SYSV flavors of Unix).

  -Thanks,
   Todd Burkey
   trb@stag.UUCP
Technical Details
Message-ID: <291@stag.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!rutgers!dayton!ems!nis!stag!trb

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!rutgers!dayton!ems!nis!stag!trb
From: trb@stag.UUCP ( Todd Burkey )
Newsgroups: comp.sys.atari.st
Subject: big arrays in MW C
Message-ID: <291@stag.UUCP>
Date: 26 Dec 87 04:24:08 GMT
Organization: Mindtools ST Access Group, Plymouth, MN
Lines: 21
Keywords: MWC bug?