Received: (at submit) by bugs.debian.org; 11 Sep 2001 01:25:55 +0000 From bap@sweat.cs.unm.edu Mon Sep 10 20:25:55 2001 Return-path: Received: from sweat.cs.unm.edu [64.106.43.209] (foobar) by master.debian.org with esmtp (Exim 3.12 1 (Debian)) id 15gcJG-0006zV-00; Mon, 10 Sep 2001 20:25:54 -0500 Received: by sweat.cs.unm.edu via sendmail from stdin id (Debian Smail3.2.0.111) for submit@bugs.debian.org; Mon, 10 Sep 2001 19:25:47 -0600 (MDT) Message-Id: Date: Mon, 10 Sep 2001 19:25:47 -0600 (MDT) From: Barak Pearlmutter To: submit@bugs.debian.org Subject: example fails ... old executables work ... old source fails Reply-to: bap@cs.unm.edu Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII Delivered-To: submit@bugs.debian.org Package: sciplot-dev Version: 1.36-8 Some old sciplot-using code of mine compiles without warning but says > Error: attempt to add non-widget child "DropSiteManager" to parent > "plotonline" which supports only widgets when I compile it using a modern sciplot. The error seems to occur within the last statement in this sequence: toplevel = XtAppInitialize(&app_con, "SciPlot", NULL, 0, &argc, argv, NULL, NULL, 0); dummy = XtVaCreateManagedWidget("dummy", /* sciplotWidgetClass, toplevel, */ coreWidgetClass, toplevel, XtNchartType, (polar_plot ? XtPOLAR : XtCARTESIAN), XtNdegrees, True, XtNwidth, 1, XtNheight, 1, XtNplotTitle, title, XtNxLabel, xlabel, XtNyLabel, ylabel, XtNshowLegend, False, XtNxLog, xlog, XtNyLog, ylog, XtNdrawMajor, False, XtNdrawMinor, False, NULL); XtSetMappedWhenManaged(toplevel, False); plot = SciPlotDialog(toplevel, title); If the same source is compiled on potato, with sciplot 1.36-3, it runs fine. The resulting executable runs fine even on a frozen machine with 1.36-8. Also ... the example /usr/doc/sciplot-dev/examples/xyplot.c fails to compile, because it cannot seem to #include #include Please don't take ... my sciplot ... away.