Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!elroy.jpl.nasa.gov!ames!dlb!shawn!root From: root@shawn.uucp (0000-Admin(0000)) Newsgroups: comp.windows.x.motif Subject: Re: illegal pointer/int combination Message-ID: <1991May24.140019.1673@shawn.uucp> Date: 24 May 91 14:00:19 GMT References: <1991May22.172108.3805@news.larc.nasa.gov> Distribution: na Organization: Mark Jeghers at home Lines: 18 jka@mris.larc.nasa.gov (J. Keith Alston) writes: >Greetings, > on compilation of a MOTIF program I get the following warning, > "program.c",line 65:warning:illegal pointer/integer combination,op= > line 65 in the program is, > menubar=XmCreateMenuBar(form,"menubar",wargs,n); > menubar is defined as a Widget. > does anyone out there know what this error is caused by or how I can > get rid of it. I guess XmCreateMenuBar is generating an integer value > and menubar is a pointer type? Also how can I specify the width of > the menubar. specifying XmNwidth doesn't seem to work. You are probably missing the header file for that widget. Check the man page to see what header file it requires.