ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PannedGE.C compile error with gcc 3.0.1


From: wkawks
Subject: PannedGE.C compile error with gcc 3.0.1
Date: Thu, 13 Sep 2001 16:16:45 -0700

Is this compile error known bug?  How to work around?


c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -isystem /usr/openwin/include    -
DNDEBUG -O2 -g -W -Wall -trigraphs  -c PannedGE.C
PannedGE.C:145: cannot convert `void (*)(...)' to `void (*)()' in
   initialization
make: *** [PannedGE.o] Error 1

in PannedGE.C
....
struct _PannedGraphEditClassRec pannedGraphEditClassRec = {
  {      /* core fields */
    /* superclass               */  portholeWidgetClass,
    /* class_name               */  (char *)"PannedGraphEdit",
    /* widget_size              */  sizeof(PannedGraphEditRec),
    /* class_initialize         */  XawInitializeWidgetSet,
    /* class_part_initialize    */  XtWidgetClassProc(0),
    /* class_inited             */  False,
    /* initialize               */  XtInitProc(0),
    /* initialize_hook          */  XtArgsProc(0),
    /* realize                  */  XtInheritRealize,
    /* actions                  */  XtActionList(0),
    /* num_actions              */  0,
    /* resources                */  resources,
    /* num_resources            */  XtNumber(resources),
    /* xrm_class                */  NULLQUARK,
    /* compress_motion          */  True,
    /* compress_exposure        */  True,
    /* compress_enterleave      */  True,
    /* visible_interest         */  False,
    /* destroy                  */  XtWidgetProc(0),
    /* resize                   */  Resize,
    /* expose                   */  XtInheritExpose,
    /* set_values               */  XtSetValuesFunc(0),
    /* set_values_hook          */  XtArgsFunc(0),
    /* set_values_almost        */  XtInheritSetValuesAlmost,
    /* get_values_hook          */  XtArgsProc(0),
    /* accept_focus             */  XtAcceptFocusProc(0),
    /* version                  */  XtVersion,
    /* callback_private           XtPointer(0), */ NULL,
    /* tm_table                 */  String(0),
    /* query_geometry           */  XtInheritQueryGeometry,
    /* display_accelerator      */  XtInheritDisplayAccelerator,
/* extension                  XtPointer(0)*/ NULL
  },
  {     /* Composite fields */
    /* geometry_manager         */  XtInheritGeometryManager,
    /* change_managed           */  XtInheritChangeManaged,
    /* insert_child             */  XtInheritInsertChild,
    /* delete_child             */  XtInheritDeleteChild,
    /* extension                  XtPointer(0) */NULL
  },
  {     /* Porthole fields */
    /* dummy                    */  0
  },
  {     /* PannedGraphEdit fields */
    /* extension                  XtPointer(0) */ NULL
  },
};  //Line145
....


Paul Hyunkeun Hong(408-588-4688 ext336)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]