Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:

| I get this when compiling with compaq cxx:
| 
| mycxx -DHAVE_CONFIG_H -I. -I../../lyx-devel/src -I. -I../../lyx-devel/images -I.. 
|-I../../lyx-devel   -I../../lyx-devel/src/cheaders  
|-I/afs/rocq/home/meval/common/include  -I/usr/local/include     -g0 -c 
|../../lyx-devel/src/BufferView_pimpl.C
| cxx: Error: ../../lyx-devel/src/BufferView_pimpl.C, line 82: class
|           "BufferView::Pimpl" is inaccessible
|                                             &BufferView::Pimpl::cursorToggle));
| ---------------------------------------------------------^
| cxx: Info: 1 error detected in the compilation of 
|"../../lyx-devel/src/BufferView_pimpl.C".
| 
| Changing the code to
|       cursor_timeout.timeout.connect(slot(this,
|                                           &cursorToggle));
| which seems to make sense to me, does work, but gives the warning
| cxx: Warning: ../../lyx-devel/src/BufferView_pimpl.C, line 82: nonstandard form
|           for taking the address of a member function
|                                             &cursorToggle));
| --------------------------------------------^
| 
| 
| So what is the correct construct?

Did you try &Pimpl::cursorToggle ?
        
        Lgb

Reply via email to