Xref: utzoo comp.windows.x:19008 comp.lang.c++:6640 Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!jarthur!uci-ics!rfg From: rfg@ics.uci.edu (Ronald Guilmette) Newsgroups: comp.windows.x,comp.lang.c++ Subject: Re: C++ and MOTIF ? Keywords: C++,MOTIF Message-ID: <25E83F8B.18248@paris.ics.uci.edu> Date: 25 Feb 90 20:26:51 GMT References: <106@sherekhan.zgdvda.uucp> <1990Feb22.184711.7006@alphalpha.com> Reply-To: rfg@ics.uci.edu (Ronald Guilmette) Organization: UC Irvine Department of ICS Lines: 50 In article <1990Feb22.184711.7006@alphalpha.com> nazgul@alphalpha.com (Kee Hinckley) writes: >In article <106@sherekhan.zgdvda.uucp> dingelde@sherekhan.zgdvda.uucp (Dennis Dingeldein) writes: >> >>I want to use X and MOTIF using C++. This does not work with the >>original headers, not even with X11R4. I am *urgently* seeking C++ >>compatible files for X, XIntrinsics and MOTIF. >>I do know that X11R4 has some prototyping, but not for all files. I have >>heared from the protoize-tool from Ronald Guilmette, but if I use that >>there will be still some work to do. >>Is there anyone out there having these things for me ??? Headers only >>for MOTIF would be enough to make me happy !!! > >If you find something let me know, but I'm somewhat confused. You make it >sound like the current situation doesn't work at all. I'm currently doing >C++/Motif work with no problems - no prototyping, but it works. There are >a few #ifdef's in the X header files to get around name conflicts, but that's >it. Are you having other problems (send me mail or post)? I personally don't know squat about Motif, other than the fact that it has something to do with X-windows. I don't know why it either should or should not be usable with C++, however I do know that, in general, C language header files require (or at least benefit from) some massaging (usually including the introduction of function prototypes) before they are used with C++. A fellow in France recently sent me a set of Motif header files which (he claims) have been massaged for C++ compatability. I am ready and willing to make these available for anonymous FTP from this site, however I don't have any notion whatsoever about the exact legal status of modified Motif header files (or even about unmodified ones for that matter). Therefore, in order to avoid any risk of being sued, I want to check with the original owners of Motif before I do anything rash. I believe that Motif is owned by OSF. If anybody knows who at OSF I should contact about the legal status of Motif header files, please let me know. Elsewise, I'll just have to put out my own feelers and see what info I get back. Sit tight and cross your fingers. P.S. I am witholding the name of my "French connection" just on the off chance that he might not have had the full legal authority to redistribute the header files. I'm just trying to err on the side of caution so that he does not get into any trouble. If he doesn't care (or isn't worried) about such trouble, then perhaps he will post something here himself, telling those who want the Motif headers how to get them from France. // Ron Guilmette (rfg@ics.uci.edu) // C++ Entomologist // Motto: If it sticks, force it. If it breaks, it needed replacing anyway.