------- Comment #7 from dave at hiauly1 dot hia dot nrc dot ca  2005-11-25 
21:36 -------
Subject: Re:  [4.1/4.2 regression] gthr-dce.h:77: error: expected expression
before '{' token

> Hmm, GTHREAD_USE_WEAK should be zero so that this should not matter at all.
> Did someone forget to include the tm.h file or a different file for this code?

We're using the "#else" part of this code:

#if SUPPORTS_WEAK && GTHREAD_USE_WEAK
# define __gthrw(name) \
  extern __typeof(name) __gthrw_ ## name __attribute__ ((__weakref__(#name)))
#else
# define __gthrw_asmname(cname) __gthrw_asmnamep (__USER_LABEL_PREFIX__, cname)
# define __gthrw_asmnamep(prefix, cname) __gthrw_string (prefix) cname
# define __gthrw_string(x) #x
# define __gthrw(name) \
  extern __typeof(name) __gthrw_ ## name __asm (__gthrw_asmname (#name))
#endif

SUPPORTS_WEAK should be zero on HP-UX 10.

Dave


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24831

Reply via email to