bug-ddd
[Top][All Lists]
Advanced

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

Re: Compiler Error: PannedGE.C


From: Andreas Zeller
Subject: Re: Compiler Error: PannedGE.C
Date: Wed, 22 Nov 2000 12:33:56 +0100 (CET)

Hi!

Peter Johnson <pjohnson@bam4fun.com> writes:

> I'd like to report a fatal syntax error in ddd 3.2.1
> 
> Version: ddd-3.2.1
> Source File: PannedGE.C
> Error: line 88 non-lvalue '&'
> OS: Redhat Linux 7 Deluxe Edition
> gcc 2.96
> 
> I modified PannedGE.C to fix the syntax error and the diff -c5 is attached.
> [...]

Thanks for your bug report!  

Actually, it seems that the error is in `PannedGEP.h' rather than in
`PannedGE.C'.  Could you check the included fix (after having undone
yours) to verify whether it solves the problem as well?

Greetings,

Andreas


Index: PannedGEP.h
===================================================================
RCS file: /cvsroot/ddd/ddd/ddd/PannedGEP.h,v
retrieving revision 1.10
diff -c -r1.10 PannedGEP.h
*** PannedGEP.h 1999/08/19 11:27:45     1.10
--- PannedGEP.h 2000/11/22 11:29:16
***************
*** 2,7 ****
--- 2,8 ----
  // Panned Graph Editor (private part)
  
  // Copyright (C) 1995 Technische Universitaet Braunschweig, Germany.
+ // Copyright (C) 2000 Universitaet Passau, Germany.
  // Written by Andreas Zeller <zeller@gnu.org>.
  // 
  // This file is part of DDD.
***************
*** 54,60 ****
      XtPointer extension;
  } PannedGraphEditClassPart;
  
! typedef struct _GraphEditClassRec {
      CoreClassPart              core_class;
      CompositeClassPart         composite_class;
      PortholeClassPart          porthole_class;
--- 55,61 ----
      XtPointer extension;
  } PannedGraphEditClassPart;
  
! typedef struct _PannedGraphEditClassRec {
      CoreClassPart              core_class;
      CompositeClassPart         composite_class;
      PortholeClassPart          porthole_class;

-- 
Andreas Zeller     Universitaet Passau
                   http://www.fmi.uni-passau.de/st/staff/zeller/



reply via email to

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