Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!umich!sharkey!msuinfo!news From: harperb@frith.msu.edu (Brett Harper) Newsgroups: comp.windows.x Subject: Prototypes for Text Widget functions Message-ID: <1990Aug9.215345.4267@msuinfo.cl.msu.edu> Date: 9 Aug 90 21:53:45 GMT Sender: news@msuinfo.cl.msu.edu Organization: Michigan State University, College of Engineering Lines: 15 I have been trying to use some of the Text widget functions, like: XawTextReplace(), and so forth. But I am having trouble using them. I am compiling my application with g++ and since all called procedures need prototypes I get an error like: Text.h:254: too many arguments to function `int XawTextReplace ()' This is because the function was 'prototyped' with zero arguments. In Text.h I noticed that all the prototypical stuff is commented out. As if it could be there but just isn't. Anyone know how I can make use of these functions using g++? Thanks, Brett Harper harperb@frith.egr.msu.edu