This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

-fpcc-struct-return


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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]