[comp.windows.x.motif] C++/Ansi C compliance

daniel@osf.org (Daniel Dardaller) (06/28/90)

> 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

bob@odi.com (Bob Miner) (06/28/90)

     ...

     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

Kudos to OSF for doing this.  This will help C++/Motif programmers greatly.

Bob Miner

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      OOOOOOO			    ~ Bob Miner
   OOOO     OOOO		    ~ Object Design, Inc.
  OOOOO     OOOOO		    ~ 1 New England Executive Park
  OOOOO     OOOOO 		    ~ Burlington, MA 01803   USA
   OOOO     OOOO		    ~ bob@odi.com or uunet!odi!bob
      OOOOOOO    bject Design Inc.  ~ voice: (617) 270-9797 FAX: (617) 270-3509
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   "From there to here, from here to there, funny things are everywhere."
								- Dr. Seuss
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~