This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
-fpcc-struct-return
- To: gnu-win32 at cygnus dot com, noer at cygnus dot com
- Subject: -fpcc-struct-return
- From: jeffdbREMOVETHIS at netzone dot com (Mikey)
- Date: Thu, 25 Sep 1997 20:05:57 GMT
- Organization: Never
- Reply-To: jeffdbREMOVETHIS at netzone 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@netzone.com)
delete REMOVETHIS from the above to reply
Mikey
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".