Re: [Patch] gio-standalone build fail with suncc because retrun value in void function
- From: Alexander Larsson <alexl redhat com>
- To: Takao Fujiwara - Tokyo S/W Center <Takao Fujiwara Sun COM>
- Cc: gnome-vfs-list gnome org
- Subject: Re: [Patch] gio-standalone build fail with suncc because retrun value in void function
- Date: Wed, 07 Nov 2007 11:52:40 +0100
On Wed, 2007-11-07 at 10:53 +0100, Alexander Larsson wrote:
> On Wed, 2007-11-07 at 17:01 +0900, Takao Fujiwara - Tokyo S/W Center
> wrote:
> > I think it can be resolved to set $CFLAGS instead of changing any codes on Solaris.
> >
> > export CFLAGS="%optflags -D_POSIX_PTHREAD_SEMANTICS"
>
> I commited the patch before i saw this mail, since I sort of rely on you
> guys to get the best approach on solaris.
>
> However, i think the ideal solution is to have an autoconf check that
> actually tries getpwuid_r and figures out how the arguments look. That
> way it will build correctly on solaris independent on whether the user
> specified _POSIX_PTHREAD_SEMANTICS or not, and it will work on other
> OSes that have the same arguments as solaris has.
I commited an autoconf check like this. Can someone please verify it on
solaris?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]