Xref: utzoo comp.sys.apollo:5959 gnu.gcc:1820 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!munnari.oz.au!bunyip!iceman!cpsrk From: cpsrk@iceman.jcu.oz (Stuart R Kemp) Newsgroups: comp.sys.apollo,gnu.gcc Subject: Compiling X11R4 on apollo's with gcc Message-ID: <870@iceman.jcu.oz> Date: 30 Jul 90 06:00:27 GMT Organization: JCUNQ, Townsville, Qld, Australia Lines: 20 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 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