octave-maintainers
[Top][All Lists]
Advanced

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

Re: FYI, cvs compile fails


From: Shai Ayal
Subject: Re: FYI, cvs compile fails
Date: Sun, 3 Feb 2008 06:24:33 +0200

On Feb 3, 2008 5:07 AM, Donald Parsons <address@hidden> wrote:
> Hi,
>
> Using Fedora Core 6, g++ :  x86_64-redhat-linux gcc version 4.1.2
> 20070626 (Red Hat 4.1.2-13)...
>
> Got first cvs compile fail in a long time:
>
> Quad-opts.cc is unchanged
> making oct-errno.cc from oct-errno.cc.in
> oct-errno.cc is unchanged
> g++ -c  -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc
> -DHAVE_CONFIG_H  -Wall -W -Wshadow -Wold-style-cast -g -O2 graphics.cc
> -o pic/graphics.o
> graphics.h:192: error: expected class-name before '(' token
> graphics.h:188: warning: 'class base_scaler' has virtual functions but
> non-virtual destructor
> graphics.h:217: warning: 'class lin_scaler' has virtual functions but
> non-virtual destructor
> graphics.h:231: warning: 'class log_scaler' has virtual functions but
> non-virtual destructor
> graphics.cc: In member function 'void
> axes::properties::update_camera()':
> graphics.cc:1804: warning: declaration of 'xlim' shadows a member of
> 'this'
> graphics.cc:1805: warning: declaration of 'ylim' shadows a member of
> 'this'
> graphics.cc:1806: warning: declaration of 'zlim' shadows a member of
> 'this'
> graphics.cc:1838: warning: declaration of 'view' shadows a member of
> 'this'
> graphics.cc:1863: warning: declaration of 'view' shadows a member of
> 'this'
> graphics.cc: In member function 'void
> axes::properties::update_aspectratios()':
> graphics.cc:2018: warning: declaration of 'xlim' shadows a member of
> 'this'
> graphics.cc:2019: warning: declaration of 'ylim' shadows a member of
> 'this'
> graphics.cc:2020: warning: declaration of 'zlim' shadows a member of
> 'this'
> make[2]: *** [pic/graphics.o] Error 1
> make[2]: Leaving directory `/home/don/src/octave/src'
> make[1]: *** [src] Error 2
> make[1]: Leaving directory `/home/don/src/octave'
> make: *** [all] Error 2
>
Sorry, it is  a silly typo
please try the following patch

Shai

Index: graphics.h.in
===================================================================
RCS file: /cvs/octave/src/graphics.h.in,v
retrieving revision 1.53
diff -u -r1.53 graphics.h.in
--- graphics.h.in       2 Feb 2008 18:23:50 -0000       1.53
+++ graphics.h.in       3 Feb 2008 04:23:12 -0000
@@ -187,7 +187,7 @@
 public:
   base_scaler (void) { }

-  virtual ~base_scalar (void) { }
+  virtual ~base_scaler (void) { }

   virtual Matrix scale (const Matrix& m) const
     {


reply via email to

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