* WINT_TYPE on darwin
@ 2004-07-14 4:24 Mike Stump
2004-07-14 8:59 ` Mark Mitchell
0 siblings, 1 reply; 2+ messages in thread
From: Mike Stump @ 2004-07-14 4:24 UTC (permalink / raw)
To: gcc-patches
[-- Attachment #1: Type: text/plain, Size: 206 bytes --]
It turns out that darwin uses int for wint_t but the compiler defaults
to unsigned int. :-( With my other patch that tightens up
unsignedness, we need to get this bit right.
Ok?
reg tested on darwin
[-- Attachment #2: wint_type.diffs.txt --]
[-- Type: text/plain, Size: 450 bytes --]
2004-07-13 Mike Stump <mrs@apple.com>
* config/darwin.h (WINT_TYPE): Define to be int to match
system header files..
Doing diffs in .:
*** ./config/darwin.h.~1~ Wed Jul 7 17:10:18 2004
--- ./config/darwin.h Tue Jul 13 00:32:19 2004
*************** void add_framework_path (char *);
*** 926,929 ****
--- 926,931 ----
#define TARGET_C99_FUNCTIONS 0
#endif
+ #define WINT_TYPE "int"
+
#endif /* CONFIG_DARWIN_H */
--------------
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: WINT_TYPE on darwin
2004-07-14 4:24 WINT_TYPE on darwin Mike Stump
@ 2004-07-14 8:59 ` Mark Mitchell
0 siblings, 0 replies; 2+ messages in thread
From: Mark Mitchell @ 2004-07-14 8:59 UTC (permalink / raw)
To: Mike Stump; +Cc: gcc-patches
Mike Stump wrote:
> It turns out that darwin uses int for wint_t but the compiler defaults
> to unsigned int. :-( With my other patch that tightens up
> unsignedness, we need to get this bit right.
>
> Ok?
>
> reg tested on darwin
Yup.
--
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark@codesourcery.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-07-14 2:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-14 4:24 WINT_TYPE on darwin Mike Stump
2004-07-14 8:59 ` Mark Mitchell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).