Re: Coding standards (was Re: typedefs)

2002-03-22 Thread Segher Boessenkool
"Bryan C. Warnock" wrote: > > On Friday 22 March 2002 17:53, Russ Allbery wrote: > > Brent Dax <[EMAIL PROTECTED]> writes: > > > > > Parrot_Foo for external names, FOO for internal names, struct > > > parrot_foo_t for struct names. > > > > POSIX reserves all types ending in _t. I'm not sure th

Re: [PATCH] Bowing to necessity (was Re: [PATCH]Macro bulletproofing )

2002-02-23 Thread Segher Boessenkool
> >An integral constant expression with the value 0, or such an > > expression cast to type void *, is called a null pointer > > constant. > Function pointers are not data pointers. > > [And thinking about it, that excerpt doesn't say that. I hope its context did, > else I'd accu

Re: [PATCH] Bash some more warnings

2002-02-17 Thread Segher Boessenkool
Steve Fink wrote: > > > - key->keys = (KEY_PAIR*)realloc(key->keys,sizeof(KEY_PAIR)*size); > > + key->keys = (KEY_PAIR**)realloc(key->keys,sizeof(KEY_PAIR)*size); > > That seems rather suspicious. I don't know anything about the KEY_PAIR > type, but allocating a chunk of memory big e

Re: Config police

2002-01-26 Thread Segher Boessenkool
> Bletch. Unless I'm much mistaken that means that WinCE SDK therefore isn't > a full ANSI conformant C library. [Which it is allowed to be - IIRC > compilers without libraries are "allowed"] > I can't remember all the terms for compilers that are conformant but don't > have the libraries but I am

Re: Size of integer register vs sizeof(void *)

2001-11-17 Thread Segher Boessenkool
brian wheeler wrote: > > Are there any cases where a void * cannot be placed into an integer > register? It seems like it shouldn't happen, especially since jump and > jsr are supposed to take an integer register and they point to a > host-machine-address... > > Brian Some Alpha's are 32 bit