help-octave
[Top][All Lists]
Advanced

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

invalid conversion from 'volatile void*' to 'void*' error on AIX 5.3


From: John W. Eaton
Subject: invalid conversion from 'volatile void*' to 'void*' error on AIX 5.3
Date: Thu, 30 Jul 2009 14:53:41 -0400

On 30-Jul-2009, Loris Bennett wrote:

| Hi,
| 
| Compiling Octave 3.2.2 and GCC 4.3.3 on AIX 5.3 I am getting the
| errors
| 
|      pt-eval.cc: In function 'void
|      do_unwind_protect_cleanup_code(void*)':
|    
|      pt-eval.cc:918: error: invalid conversion from 'volatile void*'
|      to 'void*'
| 
|      pt-eval.cc:918: error: initializing argument 2 of 'static void
|      unwind_protect::add(void (*)(void*), void*)'
| 
| Any ideas what could be causing this?

Does changing line 918 of pt-eval.cc from

  unwind_protect::add (restore_interrupt_state, &saved_octave_interrupt_state);

to

  unwind_protect::add (restore_interrupt_state, (void 
*)(&saved_octave_interrupt_state));

avoid the problem for you?

jwe


reply via email to

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