Author Topic: Compiler issues on Mac OS X  (Read 13931 times)

Offline mojca

  • Multiple posting newcomer
  • *
  • Posts: 17
Compiler issues on Mac OS X
« on: October 02, 2013, 12:28:01 am »
I would like to ask for a bit of help for creating proper patches for CB on Mac OS X.

Code
        #if defined(__WXMSW__)
            wxCursor copycursor(dnd_copy_cur_xpm);
            wxCursor movecursor(dnd_move_cur_xpm);
            wxCursor nonecursor(dnd_none_cur_xpm);
        #else
            wxIcon copycursor(dnd_copy_cur_xpm);
            wxIcon movecursor(dnd_move_cur_xpm);
            wxIcon nonecursor(dnd_none_cur_xpm);
        #endif
        //wxDragResult result;

        wxDropSource dndSource(m_diagramwindow, copycursor, movecursor, nonecursor);
Thank you.
« Last Edit: October 06, 2013, 10:25:16 pm by mojca »

Offline mojca

  • Multiple posting newcomer
  • *
  • Posts: 17
Re: Compiler issues on Mac OS X
« Reply #1 on: May 30, 2014, 03:10:28 pm »
The first two issues have been solved. I added others to the new bug tracker on SF, tickets 8-13.

Offline mojca

  • Multiple posting newcomer
  • *
  • Posts: 17
Re: Compiler issues on Mac OS X
« Reply #2 on: May 30, 2014, 03:17:35 pm »
Related thread about Mac issues on 10.5 is here: http://forums.codeblocks.org/index.php/topic,18727.0.html (12.11 and 13.12 on OSX 10.5.8 PPC/Intel)

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5910
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Compiler issues on Mac OS X
« Reply #3 on: May 30, 2014, 03:35:56 pm »
Hi, mojca, thanks for the report, though I'm not a Mac user.
It looks like we don't have ways to access to BerliOS's tickets system now.
(They are stored as xml files in C::B's svn rev9770 to rev9774)
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline mojca

  • Multiple posting newcomer
  • *
  • Posts: 17
Re: Compiler issues on Mac OS X
« Reply #4 on: May 30, 2014, 03:44:20 pm »
I didn't check the SVN yet, but some user posted a compressed snapshot of the website with most of the tickets included.

After I noticed that the tickets were gone I copied the relevant information to SourceForge, so at least in my case all the contents and questions are accessible through SF and linked above.