[comp.windows.x] X11 and Motif include files compatible with ANSI C or C++

didier@bdblues.altair.fr (didier plateau) (12/26/89)

The problem is that X and Motif include files are not compatible with
C++ (and ANSI C)

  1) Some C++ keywords are used to name struct fields ("new", "class")

  2) The functions are declared without their arguments while C++ and ANSI C
     require prototypes.

Does any body know about X and Motif include files compatible with C++
or any solution to solve this (except generating my own include files which
I do not really want to do ...) ?

      - Didier -

rws@EXPO.LCS.MIT.EDU (Bob Scheifler) (12/27/89)

    Does any body know about X and Motif include files compatible with C++
    or any solution to solve this

Xlib and Xt include files with function prototypes, compatible with C++,
are integral in R4.