From: jeffdbREMOVETHIS AT netzone DOT com (Mikey) Subject: -fpcc-struct-return 25 Sep 1997 13:19:15 -0700 Message-ID: <342aa47e.9838962.cygnus.gnu-win32@smtp.netzone.com> Reply-To: jeffdbREMOVETHIS AT netzone DOT com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: gnu-win32 AT cygnus DOT com, noer AT cygnus DOT com Hi Geoff ;^), Recently while trying to create a set of headers to allow gcc to work with msvcrt.dll, I discovered that msvcrt.dll returns div_t, and ldiv_t in registers. I was kind of surprised when I realized that the cygwin32 gcc default is -fpcc-struct-return. I believe that VC++ normally returns short structs in registers, (I could be wrong ;^) but if that is the case shouldn't the gcc default be -freg-struct-return? (jeffdbREMOVETHIS AT netzone DOT com) delete REMOVETHIS from the above to reply Mikey - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".