Re: problem with g++ 2.9

2002-03-05 Thread Colin Watson
On Tue, Mar 05, 2002 at 07:38:08PM +0800, a wrote: > From: "Eric G. Miller" > > On Tue, Mar 05, 2002 at 03:20:12PM +0800, a wrote: > > > in my c++ program i write: > > > XtAddCallback(entry, XtNcallback, print_string, "one"); > > > > > > g++ 2.9 complains: > > > xzip.cpp: In function `int main(

Re: problem with g++ 2.9

2002-03-05 Thread a
thanks! but it's not warning; it doesn't compile. - Original Message - From: "Eric G. Miller" To: Sent: Tuesday, March 05, 2002 3:48 PM Subject: Re: problem with g++ 2.9 > On Tue, Mar 05, 2002 at 03:20:12PM +0800, a wrote: > > in my c++ program i wri

Re: problem with g++ 2.9

2002-03-05 Thread Eric G. Miller
On Tue, Mar 05, 2002 at 03:20:12PM +0800, a wrote: > in my c++ program i write: > XtAddCallback(entry, XtNcallback, print_string, "one"); > > g++ 2.9 complains: > xzip.cpp: In function `int main(int, char **)': > xzip.cpp:35: passing `const char *' as argument 4 of > `XtAddCallback(_WidgetRec *,