Sean Boudreau(deleted)
|
Re: pkg_install fails due to __restrict (from different include files !?)
|
Sean Boudreau(deleted)
10/23/2007 3:04 PM
post2232
|
Re: pkg_install fails due to __restrict (from different include files !?)
On Tue, Oct 23, 2007 at 01:05:56PM -0400, Christian Leutloff wrote:
> Hi,
>
> due to the sync with HEAD I'll wade through all the updates.
>
> pkgtools/pkg_install fails with this error:
I believe this is a bug in our <sys/platform.h>. If
I get consensus I'll update the pkgsrc_qnxutil archive.
Stay tuned.
-seanb
|
|
|
Sean Boudreau(deleted)
|
Re: pkg_install fails due to __restrict (from different include files !?)
|
Sean Boudreau(deleted)
10/23/2007 3:16 PM
post2233
|
Re: pkg_install fails due to __restrict (from different include files !?)
> On Tue, Oct 23, 2007 at 01:05:56PM -0400, Christian Leutloff wrote:
> > Hi,
> >
> > due to the sync with HEAD I'll wade through all the updates.
> >
> > pkgtools/pkg_install fails with this error:
>
> I believe this is a bug in our <sys/platform.h>. If
> I get consensus I'll update the pkgsrc_qnxutil archive.
>
> Stay tuned.
>
> -seanb
Some more explanation. I suspect you have cc linked to
ntox86-gcc-2.95.3 but gcc linked to ntox86-gcc-3.3.5.
gcc>=3 don't set __STDC_VERSION__ by default and our
<sys/platform.h> assumes __STDC_VERSION__=199901L in this
case which causes some other code to assume the C99
'restrict' keyword is supported.
-seanb
|
|
|