Path: utzoo!censor!geac!jtsv16!uunet!tut.cis.ohio-state.edu!bloom-beacon!EXPO.LCS.MIT.EDU!converse From: converse@EXPO.LCS.MIT.EDU (Donna Converse) Newsgroups: comp.windows.x Subject: Re: Possible bug with DECwindow's implementation of XtOpenDisplay Message-ID: <8908062225.AA17437@expo.lcs.mit.edu> Date: 6 Aug 89 22:25:14 GMT References: <2715@quanta.eng.ohio-state.edu> Organization: X Consortium, MIT Laboratory for Computer Science Lines: 20 > I think I might have stumbled on a possible bug with DECwindow's > implementation of XtOpenDisplay (). [stuff deleted] > data. display = XtOpenDisplay ( data. context, "", > "mandelbrot", "Mandelbrot", > &options, XtNumber ( options ), &argc, argv ); > static XrmOptionDescRec options [] = > { > { "-depth", "*depth", XrmoptionSepArg, NULL }, [etcetera] Wrong type in the 5th argument. An array name is converted by the compiler to a pointer to the beginning of the array. Use options, not &options. Donna Converse converse@expo.lcs.mit.edu