This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

__attribute__ fix for s390.



Hi,
we found a problem with the __psw_t definition. The __attribute__ after
the typedef name doesn't have any effect with gcc 2.95.3 and it crashes
the c++ compiler with gcc 3.0. The __attribute__ needs to follow the
closing brace of the structure definition. One of the finer points you
need to know ... ChangeLog and Patch:

2001-10-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>

     * sysdeps/s390/s390-32/sys/ucontext.h: Correct __psw_t typedef.
     * sysdeps/s390/s390-64/sys/ucontext.h: Likewise.

(See attached file: attribute.diff)

blue skies,
   Martin

Linux/390 Design & Development, IBM Deutschland Entwicklung GmbH
Schönaicherstr. 220, D-71032 Böblingen, Telefon: 49 - (0)7031 - 16-2247
E-Mail: schwidefsky@de.ibm.com

=?iso-8859-1?Q?attribute.diff?=


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]