Article View: gnu.gcc.help
Article #51857Douglas A. Young text OOP C++ Motif
From: Ray Stell
Date: Thu, 25 Mar 1993 19:08
Date: Thu, 25 Mar 1993 19:08
25 lines
1493 bytes
1493 bytes
I was planning to work through the Young text with g++. Are there known gotchas? His release notes in the X11 contrib area mentions: "I have had several other reports of trouble compiling with g++. However, many people report success at building with an assortment of other compilers. Known problems with g++: In ButtonInterface.C, the call to XtAddCallback references a protected static member of the CmdInterface base class as CmdInterface::executeCmdCallback. g++ doesn't like this, but will accept just executeCmdCallback. In some cases g++ doesn't appear to properly initialize non-local static objects, MotifApp's UndoCmd, for example. A contributed solution is to include UndoCmd.h in the same file as main, which g++ then handles correctly for some reason." ...D. Young (I guess?) Anyone already jump through this hoop? Thank you. ====================================================================== Ray Stell stellr@smyrna.cc.vt.edu (703) 231-4109
Technical Details
Message-ID:
<12649@vtserf.cc.vt.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!vtserf!smyrna!stellrShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,35c2a961186a0fa8,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-03-25 11:08:47 PST Path: arc1-ca.pugleaf.net!sparky!uunet!vtserf!smyrna!stellr From: stellr@smyrna (Ray Stell) Newsgroups: gnu.gcc.help Subject: Douglas A. Young text OOP C++ Motif Message-ID: <12649@vtserf.cc.vt.edu> Date: 25 Mar 93 19:08:47 GMT Sender: usenet@vtserf.cc.vt.edu Lines: 25 X-Newsreader: TIN [version 1.1 PL6]