cpsrk@iceman.jcu.oz (Stuart R Kemp) (07/30/90)
Have an apollo with SR10.2, and am trying to compile
X11R4 using gcc. All okay, except when compiling in ddx/server
directory. File /usr/include/apollo/base.h is included,
but in there they use __attribute((volatile)) which gcc does not
like.
gcc flags used: -DNOSTDHDRS -fstrength-reduce -fpcc-struct-return
An example from the file <apollo/base.h>
typedef struct {
long something;
pinteger awaiters;
} foobar __attribute((volatile)); <--- Not like
What's wrong? How do I get around this?
Replies via email, please
-Stuart
stuart@sheila.jcu.edu.au or cpsrk@marlin.jcu.edu.au