Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!rutgers!usc!snorkelwacker!paperboy!osf.org!daniel From: daniel@osf.org (Daniel Dardaller) Newsgroups: comp.windows.x.motif Subject: C++/Ansi C compliance Message-ID: <10053@paperboy.OSF.ORG> Date: 28 Jun 90 11:44:14 GMT Sender: news@OSF.ORG Reply-To: daniel@osf.org (Daniel Dardaller) Organization: Open Software Foundation - Cambridge, MA 02142 Lines: 15 > Unfortunately, C++ does not like any Xt, or X header files since > the C++ reserved world "class" exists in these header files. I've already compiled xhw (helloworld in X using Xt and Athena) with a C++ compiler (CC or g++) and it works fine. Have you applied the MIT fixes (number 2, 10 and 11, I think) to your original R4 headers? It was bogus in the January release (experimental, they said). For Motif, the 1.1 release will also include prototyped headers for running C++ or Ansi C programs. Daniel Dardailler | OSF/Motif Team Open Software Foundation | Email : daniel@osf.org 11 Cambridge Center | Phone : (617) 621 8840 CAMBRIDGE, MA 02142 | Fax : (617) 621 0584