Hi, While installing nurbs 1.3.5 in octave 3.7 compiled from the development version on debian/sid with gcc-4.6, I got errors with bspeval.cc
bspeval.cc: In function ‘octave_value_list Fbspeval(const octave_value_list&, int)’: bspeval.cc:62:71: error: ‘u’ is predetermined ‘shared’ for ‘shared’ bspeval.cc:62:71: error: ‘k’ is predetermined ‘shared’ for ‘shared’ bspeval.cc:62:71: error: ‘c’ is predetermined ‘shared’ for ‘shared’ make: *** [bspeval.oct] Error 1 Compiling directly from the unpacked tarball produced the same error. Googling a bit seems to suggest that using a -Werror option would help and indeed compiling went through with "CXXFLAGS=-Werror make" in nurbs/src directory. What seems strange is that if -Werror is passed directly as an argument to mkoctfile, that is, mkoctfile -Werror bspeval.cc low_level_functions.o, it fails (with the same error). My questions are: * Is the error in compiling bspeval.cc simply due to the increase stringency of the more recent gcc-4.6? Or is it a bug? * (Not directly related to nurbs really) Is it a bug in mkoctfile that -Werror is not respected? Regards, ST -- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev