help-octave
[Top][All Lists]
Advanced

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

Re: problem compiling 2.1.65 on solaris


From: Dmitri A. Sergatskov
Subject: Re: problem compiling 2.1.65 on solaris
Date: Fri, 18 Feb 2005 13:08:10 -0700
User-agent: Mozilla Thunderbird 0.9 (X11/20041127)

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<char>, _Alloc = std::allocator<char>]' discards qualifiers file-ops.cc:368: error: cannot convert `const std::basic_string<char, std::char_traits<char>, std::allocator<char> >' 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
-------------------------------------------------------------



reply via email to

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