help-octave
[Top][All Lists]
Advanced

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

compiling with Sun Studio


From: Jim Langston
Subject: compiling with Sun Studio
Date: Tue, 28 Aug 2007 14:31:40 -0400
User-agent: Thunderbird 1.5.0.8 (X11/20061204)

Hi all,

Has anyone compiled 2.9.13 with Sun Studio compilers?

I'm down to one last error:

It is in sighandlers.cc, and I get this error:

"./base-list.h", line 45: Error: Cannot cast from pid_equal to bool(*)(const octave_child&).


Which is associated with the class pid_equal.

If I compile with -library=stlport4, then I can get this file to compile, but because of the nature of this option, all of octave must be compile with that option, and that introduces all kinds of
errors with the rest of the source code.

If looks like list::remove_if method requires exact type of the argument - bool ( * ) ( const T & ) which with the standard C lib is a problem. Can this class be re-written, or is there another
way to solve for it?

Thanks,

Jim

--
/////////////////////////////////////////////

Jim Langston
Sun Microsystems, Inc.

(877) 854-5583 (AccessLine)
AIM: jl9594
address@hidden



reply via email to

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