From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: C++, complex, etc Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: References: <8g1l6o DOT 3vs4qnf DOT 0 AT buerssner-17104 DOT user DOT cis DOT dfn DOT de> <200005191227 DOT IAA23640 AT indy DOT delorie DOT com> <8g3o1e DOT 3vs4qnf DOT 0 AT buerssner-17104 DOT user DOT cis DOT dfn DOT de> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 26 X-Trace: /K+neVpotxW9ThdIuQNzFMjWRj7cQA3t1/AWal2z9uSdoLGWRuWzM6zq5tlXGjMun50AKzU/yX43!T11iEOAhj/4uvR0yGadI+4C9+JDINt6VnwXRgJ3JgxqbuExLqd7eKjL4yiVzzC+Q7Uifg3Q5QrFa!/FDcIeo= X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Mon, 22 May 2000 02:47:02 GMT Distribution: world Date: Mon, 22 May 2000 02:47:02 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On 19 May 2000 13:51:00 GMT, buers AT gmx DOT de (Dieter Buerssner) wrote: >Eli Zaretskii wrote: > >>It is only available in the new C99 >>standard, which is not yet universally supported (DJGPP doesn't >>support it). > >So, you even managed to bring this back on topic for this newsgroup. >For DJGPP (and any C90 compiler), you can write (size_t)-1 instead >of SIZE_MAX. DJGPP? Yes. Any C90 compiler? No. For example, the MC68000 microprocessor represents all sizes as 32-bit integers, but the chip has only 24 address lines; addresses are anded with 0x00ffffff before being sent out the wire. In this case, size_t would probably be typedef'd as unsigned long, but C99's SIZE_MAX would be 0x00ffffff not 0xffffffff. -- Damian Yerrick "I refuse to listen to those who refuse to listen to reason." See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html This is McAfee VirusScan. Add these two lines to your signature to prevent the spread of signature viruses. http://www.mcafee.com/