From help-request at octave dot org Fri Feb 18 14:04:58 2005 Subject: Re: problem compiling 2.1.65 on solaris From: "Dmitri A. Sergatskov" To: "John W. Eaton" CC: octave help mailing list Date: Fri, 18 Feb 2005 13:08:10 -0700 John W. Eaton wrote: ... > > Please try the following patch and let me know whether it works > correctly. Still some problems: g++ -c -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob -I../glob -DHAVE_CONFIG_H -Wall -W -Wshadow -O2 -mcpu=ultrasparc -mtune=ultrasparc -pipe file-ops.cc -o pic/file-ops.o file-ops.cc: In static member function `static std::string file_ops::canonicalize_file_name(const std::string&, std::string&)': file-ops.cc:358: error: passing `const std::string' as `this' argument of `std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator=(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char, _Traits = std::char_traits, _Alloc = std::allocator]' discards qualifiers file-ops.cc:368: error: cannot convert `const std::basic_string, std::allocator >' to `const char*' for argument `1' to `int resolvepath(const char*, char*, size_t)' file-ops.cc:373: warning: comparison between signed and unsigned integer expressions make: *** [pic/file-ops.o] Error 1 ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------