[parisc-linux] gcc-cvs problem
joel.soete@freebel.net
joel.soete@freebel.net
Fri, 31 May 2002 17:14:09 +0200 (CEST)
Hi Dave,
It seems to be well comited in last cvs update this morming I got in
src/gcc/gcc/fixinc/inclhack.def:
...
/*
* __thread is now a keyword.
*/
fix = {
hackname = thread_keyword;
files = "pthread.h";
files = "bits/sigthread.h";
select = " __thread([,)])";
c_fix = format;
c_fix_arg = " __thr%1";
test_text =
"extern int pthread_create (pthread_t *__restrict __thread,\n"
"extern int pthread_kill (pthread_t __thread, int __signo);\n"
"extern int pthread_cancel (pthread_t __thread);";
};
...
But do not seems to be applied as I got the same error?
What do I wrong or forget to do?
Thanks for add help,
Joel
Quoting John David Anglin <dave@hiauly1.hia.nrc.ca>:
> > In file included from ../include/pthread.h:1,
> > from
> ../linuxthreads/sysdeps/pthread/bits/libc-lock.h:23,
> > from ../sysdeps/generic/ldsodefs.h:34,
> > from ../sysdeps/unix/sysv/linux/ldsodefs.h:25,
> > from ../sysdeps/unix/sysv/linux/init-first.c:32:
> > ../linuxthreads/sysdeps/pthread/pthread.h:163: parse error before
> "__thread"
>
> See <http://gcc.gnu.org/ml/gcc-patches/2002-05/msg01780.html> for fix.
>
> Dave
> --
> J. David Anglin dave.anglin@nrc.ca
> National Research Council of Canada (613) 990-0752 (FAX:
> 952-6605)
>
> _______________________________________________
> parisc-linux mailing list
> parisc-linux@lists.parisc-linux.org
> http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
>
>
-------------------------------------------------
This mail sent through Tiscali Webmail (http://webmail.tiscali.be)