[Matti Aarnio] > > That depends mainly on question: Does your stack grow up or down ? [Ben Pfaff] > No it doesn't. It depends mainly on whether the ABI for the machine > says that arguments are pushed onto the stack in left-to-right or > right-to-left order. You could do either on x86, for instance, and > it has nothing to do with whether the x86 stack grows up or down. So, if you choose left-to-right, how do you implement varargs? Keep in mind that prototypes are optional. I bet anything your solution is slower and more complex than right-to-left, as all known compilers do. Peter - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- Re: Patch to remove undefined C code Bernd Schmidt
- Patch to remove undefined C code Jonathan George
- Re: Patch to remove undefined C code Ben Pfaff
- Re: Patch to remove undefined C code Alexander Viro
- Re: Patch to remove undefined C code Mike Castle
- Re: Patch to remove undefined C code Alexander Viro
- RE: Patch to remove undefined C code Jonathan George
- Re: Patch to remove undefined C code Ben Pfaff
- Re: Patch to remove undefined C code Matti Aarnio
- Re: Patch to remove undefined C code Ben Pfaff
- Re: Patch to remove undefined C code Peter Samuelson
- Re: Patch to remove undefined C ... Tom Leete
- Re: Patch to remove undefine... Bill Wendling
- Re: Patch to remove undefine... Tom Leete
- Re: Patch to remove undefined C ... Richard Henderson
- Re: Patch to remove undefined C ... Jeff Epler
- Re: Patch to remove undefined C code Albert D. Cahalan
- RE: Patch to remove undefined C code Jonathan George
- Re: Patch to remove undefined C code Rick Hohensee
- how to get IP address of current machine from C++... Christopher Friesen