[Monetdb-developers] [Monetdb-checkins] MonetDB5/src/optimizer opt_octopus.mx, , 1.29, 1.30

Stefan Manegold Stefan.Manegold at cwi.nl
Tue Apr 14 14:59:17 CEST 2009


On Tue, Apr 14, 2009 at 01:36:10PM +0200, Lefteris wrote:
> Is it only my copy because I messed something up or there is a problem
> with compiling octapus functions in sql.mx?

see
http://monetdb.cwi.nl/testing/projects/monetdb/Current/sql/.Makes3/index_short.html
i.e., sql did not compile at all last night with testing due to this
problem. (Most probabluy a signature change in M5 has not been applied in
SQL.)

Stefan

> cc1: warnings being treated as errors
> /home/lsidir/develop//current/sql/src/backends/monet5/sql.mx: In
> function ‘SQLnewAquarium’:
> /home/lsidir/develop//current/sql/src/backends/monet5/sql.mx:4091:
> error: implicit declaration of function ‘OCTOPUSworker’
> /home/lsidir/develop//current/sql/src/backends/monet5/sql.mx:4091:
> error: return makes pointer from integer without a cast
> /home/lsidir/develop//current/sql/src/backends/monet5/sql.mx: In
> function ‘SQLdropAquarium’:
> /home/lsidir/develop//current/sql/src/backends/monet5/sql.mx:4097:
> error: implicit declaration of function ‘OCTOPUSdrop’
> /home/lsidir/develop//current/sql/src/backends/monet5/sql.mx:4097:
> error: return makes pointer from integer without a cast
> make[7]: *** [lib_sql_la-sql.lo] Error 1
> make[7]: Leaving directory
> `/export/scratch0/lsidir/monet/build.current/sql/src/backends/monet5'
> make[6]: *** [all] Error 2
> make[6]: Leaving directory
> `/export/scratch0/lsidir/monet/build.current/sql/src/backends/monet5'
> make[5]: *** [all-recursive] Error 1
> make[5]: Leaving directory
> `/export/scratch0/lsidir/monet/build.current/sql/src/backends'
> make[4]: *** [all] Error 2
> make[4]: Leaving directory
> `/export/scratch0/lsidir/monet/build.current/sql/src/backends'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/export/scratch0/lsidir/monet/build.current/sql/src'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/export/scratch0/lsidir/monet/build.current/sql/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/export/scratch0/lsidir/monet/build.current/sql'
> make: *** [all] Error 2
> 
> 
> On Tue, Apr 14, 2009 at 12:59 PM, Martin Kersten
> <mlkersten at users.sourceforge.net> wrote:
> > Update of /cvsroot/monetdb/MonetDB5/src/optimizer
> > In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv7426
> >
> > Modified Files:
> >        opt_octopus.mx
> > Log Message:
> > Silence the compilers on unused variables.
> >
> >
> > U opt_octopus.mx
> > Index: opt_octopus.mx
> > ===================================================================
> > RCS file: /cvsroot/monetdb/MonetDB5/src/optimizer/opt_octopus.mx,v
> > retrieving revision 1.29
> > retrieving revision 1.30
> > diff -u -d -r1.29 -r1.30
> > --- opt_octopus.mx      14 Apr 2009 07:13:43 -0000      1.29
> > +++ opt_octopus.mx      14 Apr 2009 10:59:52 -0000      1.30
> > @@ -178,7 +178,7 @@
> >  OPTtentacle(Client cntxt,  MalBlkPtr mb, InstrPtr pci, int start, int idx, int v2){
> >        MalBlkPtr tm= NULL;
> >        InstrPtr p, q,anchor=NULL;
> > -       int varid= pci->argv[idx],i,j,top=0, fnd, version;
> > +       int varid= pci->argv[idx],i,j,top=0, fnd;
> >        char buf[BUFSIZ];
> >        InstrPtr *list = (InstrPtr*) GDKzalloc(sizeof(InstrPtr) * mb->ssize);
> >        char *needed= (char*) GDKzalloc(mb->vtop);
> > @@ -219,7 +219,6 @@
> >        setArgType(mb,q,0,getVarType(mb,varid));
> >        q= pushStr(mb,q,"tbd");
> >        q= pushStr(mb,q,name);
> > -       version = newVariable(mb,GDKstrdup("version"),TYPE_int);
> >        q= pushArgument(mb,q,v2);
> >        needed[varid]= 1;
> >        anchor = q;
> >
> >
> > ------------------------------------------------------------------------------
> > This SF.net email is sponsored by:
> > High Quality Requirements in a Collaborative Environment.
> > Download a free trial of Rational Requirements Composer Now!
> > http://p.sf.net/sfu/www-ibm-com
> > _______________________________________________
> > Monetdb-checkins mailing list
> > Monetdb-checkins at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/monetdb-checkins
> >
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> High Quality Requirements in a Collaborative Environment.
> Download a free trial of Rational Requirements Composer Now!
> http://p.sf.net/sfu/www-ibm-com
> _______________________________________________
> Monetdb-checkins mailing list
> Monetdb-checkins at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/monetdb-checkins
> 
> 

-- 
| Dr. Stefan Manegold | mailto:Stefan.Manegold at cwi.nl |
| CWI,  P.O.Box 94079 | http://www.cwi.nl/~manegold/  |
| 1090 GB Amsterdam   | Tel.: +31 (20) 592-4212       |
| The Netherlands     | Fax : +31 (20) 592-4312       |




More information about the developers-list mailing list