Date: Tue, 22 Apr 2014 10:22:52 -0700 From: John-Mark Gurney <jmg@funkthat.com> To: Riccardo Veraldi <riccardo.veraldi@gmail.com> Cc: sparc64@freebsd.org Subject: Re: libsoup Message-ID: <20140422172251.GC43976@funkthat.com> In-Reply-To: <53569D98.1040507@gmail.com> References: <5350D21A.5050800@gmail.com> <25617748.123.1397978390159.JavaMail.craig@w520> <53569D98.1040507@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Riccardo Veraldi wrote this message on Tue, Apr 22, 2014 at 18:49 +0200: > seems there is a problem with strcmp somewhere... It's probably being passed a bogus pointer... > this happens on my Sun Blade 1000 UltraSPARC IIIcu > > here I reproduced the problem. are you sure it isn't a problem where the prototype isn't in scope, and so strcmp or other function is getting/returning an int (32bits) instead of a pointer (64bits)? The C standard states that if there isn't a prototype in scope it's assumed to always be an int... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140422172251.GC43976>