help-octave
[Top][All Lists]
Advanced

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

compiling with Sun Studio


From: John W. Eaton
Subject: compiling with Sun Studio
Date: Tue, 28 Aug 2007 16:10:45 -0400

On 28-Aug-2007, Jim Langston wrote:

| 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?

Precisely what change would make it work for the Sun compiler?

jwe


reply via email to

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