Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Nov 2013 06:33:57 -0700
From:      Craig Whipp <crwhipp@gmail.com>
Cc:        freebsd-ppc@freebsd.org
Subject:   Re: /usr/ports/devel/icu does not compile
Message-ID:  <CAKYdGeqJT6EHygeSMNRW%2B4zz0Tne5ktbZpWE2txSayy0YRgy0A@mail.gmail.com>
In-Reply-To: <20131120182552.0251F9B5@hub.freebsd.org>
References:  <CAFX4DrbFucTEPVt4XWnB%2BLEgwc6pfOrYVqz1MkeKcNzLjz=kAQ@mail.gmail.com> <20131120122336.0553e1fd@puffo.bilink.net> <CAFX4DrZn27Ne2N5tOB9LzghCyheBV1uHMkEbdHGci6Cja1VJ-g@mail.gmail.com> <528CCBD0.3080900@freebsd.org> <CAFX4DrYP0qV5wHCL2RAbdyt2irB6aiQOF269Lx82ofiMxLqEnQ@mail.gmail.com> <20131120182552.0251F9B5@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Nov 20, 2013 11:25 AM, "Luciano Mannucci" <luciano@vespaperitivo.it>
wrote:
>
> On Wed, 20 Nov 2013 15:59:23 +0100
> Frank Pfabigan <frank.pfabigan@gmail.com> wrote:
>
> > /usr/include/stdint.h:68:68: error: missing binary operator before
token "("
> Yes, standard 9.2 stdint.h does'nt work on 32 bit PPCs.
> I've modified mine by commenting out the offending lines and adding a
> #define __WORDSIZE 32
> which, of course, is correct on my machine (and yours too I presume :).
> The End of my stdint.h looks like that now:
>
> /* GNU and Darwin define this and people seem to think it's portable @/
> #if defined(UINTPTR_MAX) && defined(UINT64_MAX) && (UINTPTR_MAX ==
UINT64_MAX)
> #define __WORDSIZE              64
> #else
> #define __WORDSIZE              32
> #endif
> */
>
> #define __WORDSIZE              32
>
> #endif /* !_SYS_STDINT_H_ */
>
> --
>  /"\                         /Via A. Salaino, 7 - 20144 Milano (Italy)
>  \ /  ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250
>   X   AGAINST HTML MAIL    /  E-MAIL: posthamster@sublink.sublink.ORG
>  / \  AND POSTINGS        /   WWW: http://www.lesassaie.IT/

I have experienced this, too, on a G4 Powerbook.

I think that there's a PR already, perhaps it warrants additional
attention.
See: Powerpc/181502



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKYdGeqJT6EHygeSMNRW%2B4zz0Tne5ktbZpWE2txSayy0YRgy0A>