pthread.h problem after installing bos.adt.include.4.3.3.3

pthread.h problem after installing bos.adt.include.4.3.3.3

Post by Stefan Kirchber » Thu, 27 Jan 2000 04:00:00



Hi,

we have a problem regarding the /usr/include/pthread.h file when using it
with the gnu-gcc/g++-compiler version 2.95.2 (installp from bull).
The preprocessor (cpp) responds with following warnings:

/usr/include/pthread.h:113: warning: missing white space after `#define
PTHREAD_MUTEX_INITIALIZER'
/usr/include/pthread.h:128: warning: missing white space after `#define
PTHREAD_COND_INITIALIZER'
/usr/include/pthread.h:147: warning: missing white space after `#define
PTHREAD_RWLOCK_INITIALIZER'
/usr/include/pthread.h:157: warning: missing white space after `#define
PTHREAD_ONCE_INIT'

And compilation will abort when one of these defines is used.

These defines has changed from
#define PTHREAD_ONCE_INIT               {0,\
                                         0,\

to this in 4.3.3.3
#define PTHREAD_MUTEX_INITIALIZER\
{\
        0,      /* no waiters */\
        0,      /* no waiters */\

There are no blanks anymore...

IBM Software Support USA says: It's a Gnu-C-compiler problem.

A fix is to add 4 blanks to the code.
But on all our machines it much work. IBM will not fix it.

Has anyone an idea how to solve this problem?

With kind regards

Stefan Kirchberg

Medat Computer-Systeme GmbH

 
 
 

1. bos.adt.include

Hello,

I have a problem, to compile with gcc under aix 4.3.3.0 i need the adt
for aix , the files adt.* are in the standard distribution of aix or
is a package of AIX C ?
Is possible to download the adt libraries and include ?  where ?

Thank's

Alessio Battistutta
Wavenet Group

2. Upgrading glibc arch from i386 to i686

3. bos.adt (fwd)

4. combo linux/mac os

5. Can I download bos.adt.base from anywhere ?

6. ZiP Drives???

7. fileset bos.adt.prof 4.3.3.10 (?)

8. "Advanced

9. bos.adt.syscalls

10. bos.adt.prof 4.3.0.0 # Base Level Fileset

11. bos.adt.libm - which cd?

12. Fileset bos.adt.libm missing

13. Help: Need "make" to Install Oracle. How to install bos.adt.base ???