🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #5417

Re: using int's in C

#5417
From: Jim Bittman
Date: Mon, 25 Mar 1991 00:52
13 lines
1076 bytes
I'm kind of embarrassed to point out that the *entire* problem was due
to not turning off run-time stack checking.  I can use the exact same
code as Borland, but compile with /Gs, and it works!

But:
 - Why isn't outp (MicroSoft) a "nice" function?
 - We checked the MS documentation and several other books, but
   nothing mentioned the /Gs switch (in relation to HW ints),
   any reasons why?

I must thank the net, because that is where the answer came from!

Jim Bittman, jmbj@grebyn.com
Technical Details
Message-ID: <1991Mar25.005251.12943@grebyn.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!news.cs.indiana.edu!nstn.ns.ca!uupsi!grebyn!jmbj
References: <hart.669469853@blackjack> <1991Mar23.021231.21131@grebyn.com> <1991Mar24.174325.23812@news.iastate.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!news.cs.indiana.edu!nstn.ns.ca!uupsi!grebyn!jmbj
From: jmbj@grebyn.com (Jim Bittman)
Newsgroups: comp.os.msdos.programmer
Subject: Re: using int's in C
Summary: Problem fixed!
Message-ID: <1991Mar25.005251.12943@grebyn.com>
Date: 25 Mar 91 00:52:51 GMT
Article-I.D.: grebyn.1991Mar25.005251.12943
References: <hart.669469853@blackjack> <1991Mar23.021231.21131@grebyn.com> <1991Mar24.174325.23812@news.iastate.edu>
Organization: Grebyn Corporation
Lines: 13