Re: gcc varargs problem

2008-08-05 Thread Bill Davidsen
whoosh wrote: On 01-Aug-08 17:36:50 Bill Davidsen wrote: whoosh wrote: all gcc's so far have accepted the following code, until now using gcc on Fedora 9: void f( va_list *pargs ) { va_list args = *pargs ; ... } 64 bit Fedora 9's gcc regards this as an error, all the other gcc's eg on 32

Re: gcc varargs problem

2008-08-04 Thread Rick Stevens
whoosh wrote: On 01-Aug-08 03:22:56 Sam Varshavchik wrote: whoosh writes: On 01-Aug-08 03:00:09 Tom Horsley wrote: On Fri, 01 Aug 2008 02:36:54 +0100 whoosh [EMAIL PROTECTED] wrote: 64 bit Fedora 9's gcc regards this as an error, all the other gcc's eg on 32 bit Fedora Core 3 have no

Re: gcc varargs problem

2008-08-01 Thread Steven W. Orr
On Thursday, Jul 31st 2008 at 21:36 -, quoth whoosh: = =all gcc's so far have accepted the following code, = =until now using gcc on Fedora 9: = = =void f( va_list *pargs ) ={ =va_list args = *pargs ; =... =} = =64 bit Fedora 9's gcc regards this as an error, all the other gcc's eg =on 32

Re: gcc varargs problem

2008-08-01 Thread Bill Davidsen
whoosh wrote: all gcc's so far have accepted the following code, until now using gcc on Fedora 9: void f( va_list *pargs ) { va_list args = *pargs ; ... } 64 bit Fedora 9's gcc regards this as an error, all the other gcc's eg on 32 bit Fedora Core 3 have no problem with this. I use this

Re: gcc varargs problem

2008-08-01 Thread whoosh
On 01-Aug-08 03:22:26 Kevin Kofler wrote: whoosh whoosh777 at blueyonder.co.uk writes: is there a way to switch off the signedness errors, where -Wno-pointer-sign Kevin Kofler excellent, I had given up! -- fedora-list mailing list fedora-list@redhat.com To unsubscribe:

Re: gcc varargs problem

2008-08-01 Thread whoosh
On 01-Aug-08 03:22:56 Sam Varshavchik wrote: whoosh writes: On 01-Aug-08 03:00:09 Tom Horsley wrote: On Fri, 01 Aug 2008 02:36:54 +0100 whoosh [EMAIL PROTECTED] wrote: 64 bit Fedora 9's gcc regards this as an error, all the other gcc's eg on 32 bit Fedora Core 3 have no problem with this.

Re: gcc varargs problem

2008-08-01 Thread whoosh
On 01-Aug-08 15:00:59 Steven W. Orr wrote: On Thursday, Jul 31st 2008 at 21:36 -, quoth whoosh: = =all gcc's so far have accepted the following code, = =until now using gcc on Fedora 9: = = =void f( va_list *pargs ) ={ =va_list args = *pargs ; =... =} = =64 bit Fedora 9's gcc regards this as

Re: gcc varargs problem

2008-08-01 Thread whoosh
On 01-Aug-08 17:36:50 Bill Davidsen wrote: whoosh wrote: all gcc's so far have accepted the following code, until now using gcc on Fedora 9: void f( va_list *pargs ) { va_list args = *pargs ; ... } 64 bit Fedora 9's gcc regards this as an error, all the other gcc's eg on 32 bit

gcc varargs problem

2008-07-31 Thread whoosh
all gcc's so far have accepted the following code, until now using gcc on Fedora 9: void f( va_list *pargs ) { va_list args = *pargs ; ... } 64 bit Fedora 9's gcc regards this as an error, all the other gcc's eg on 32 bit Fedora Core 3 have no problem with this. I use this a lot in order

Re: gcc varargs problem

2008-07-31 Thread Tom Horsley
On Fri, 01 Aug 2008 02:36:54 +0100 whoosh [EMAIL PROTECTED] wrote: 64 bit Fedora 9's gcc regards this as an error, all the other gcc's eg on 32 bit Fedora Core 3 have no problem with this. The standard regards it as an error as well, and if you looked up the insane argument passing

Re: gcc varargs problem

2008-07-31 Thread whoosh
On 01-Aug-08 03:00:09 Tom Horsley wrote: On Fri, 01 Aug 2008 02:36:54 +0100 whoosh [EMAIL PROTECTED] wrote: 64 bit Fedora 9's gcc regards this as an error, all the other gcc's eg on 32 bit Fedora Core 3 have no problem with this. The standard regards it as an error as well, and if you looked

Re: gcc varargs problem

2008-07-31 Thread Kevin Kofler
whoosh whoosh777 at blueyonder.co.uk writes: is there a way to switch off the signedness errors, where -Wno-pointer-sign Kevin Kofler -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

Re: gcc varargs problem

2008-07-31 Thread Sam Varshavchik
whoosh writes: On 01-Aug-08 03:00:09 Tom Horsley wrote: On Fri, 01 Aug 2008 02:36:54 +0100 whoosh [EMAIL PROTECTED] wrote: 64 bit Fedora 9's gcc regards this as an error, all the other gcc's eg on 32 bit Fedora Core 3 have no problem with this. The standard regards it as an error as