|
Message
From: =?unknown-8bit?Q?Gy=F6rgy?= 'nog' Jeney<nog@s...>
Date: Fri Jan 28 12:17:15 CET 2005
Subject: [openrisc] [or1ksim #7] Stricter typeing...
> > why not just copy the required definitions from inttypes.h (or maybe > > even the whole file) and convince configure to use those if it can't > > find the native one installed on system. there isn't much behind these > > macros... > > > > /* UPPERCASE hexadecimal notation. */ > > # define PRIX8 "X" > > # define PRIX16 "X" > > # define PRIX32 "X" > > # define PRIX64 __PRI64_PREFIX "X" > > That's what I meant with `fix configure'. I think I'll use the official > definitions they are availible and fall back to our (not yet existing) ones. > I'll send an updated patch.
Here's the updated patch. I have removed the extras subdirectory. It is really a badly chosen name. There are no `extras' in there only `ports' of functions that are not availible everywere, so I have renamed it to `port', the name given in some other projects. I have also moved the isblank `port' from cpu/common/parse.c to port/isblank.c, where it belongs.
I have also added the printf attribute to the debug function, so gcc also checks the format strings passed to that function.
ChangeLog: * Mark a simulated cpu address as such, by introducing the new oraddr_t type.
nog. -------------- next part -------------- A non-text attachment was scrubbed... Name: patch7.gz Type: application/x-gunzip Size: 32725 bytes Desc: not available Url : patch7-0001.bin
|
 |