tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] How to use functions which return struct?


From: Tovarisch
Subject: [Tinycc-devel] How to use functions which return struct?
Date: Tue, 5 Oct 2010 00:16:46 +0400

All greetings, 

 There is a necessity to use function div, returned value of function - 
structure.
 After it has appeared that in structure the garbage comes back, i lookd In 
stdlib.c and has found the following:
 
/*
 * div_t and ldiv_t are structures used to return the results of div and
 * ldiv.
 *
 * NOTE: div and ldiv appear not to work correctly unless
 *-fno-pcc-struct-return is specified. This is included in the
 * mingw32 specs file.
 */
 
 But according to the description "-fno" the negation key, and 
"-pcc-struct-return" there isn't present.
 And as a result this key hasn't helped me.
 If someone faced with similar, help please.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]