Author Topic: ThreadSearch on r7240 not compiling  (Read 4960 times)

daniloz

  • Guest
ThreadSearch on r7240 not compiling
« on: June 17, 2011, 09:16:02 am »
Hi All,

After updating to svn trunk r7240, I get errors when compiling ThreadSearch:
Code
C:\Work\codeblocks_trunk\src\plugins\contrib\ThreadSearch\ThreadSearchLoggerList.cpp: In member function 'void ThreadSearchLoggerList::OnColumnClick(wxListEvent&)':
C:\Work\codeblocks_trunk\src\plugins\contrib\ThreadSearch\ThreadSearchLoggerList.cpp:630:94: error: invalid conversion from 'int (*)(long int, long int, long int)' to 'int (*)(long int, long int, long int)'
C:\Work\codeblocks_trunk\src\plugins\contrib\ThreadSearch\ThreadSearchLoggerList.cpp:630:94: error:   initializing argument 1 of 'bool wxListCtrl::SortItems(int (*)(long int, long int, long int), long int)'
C:\Work\codeblocks_trunk\src\plugins\contrib\ThreadSearch\ThreadSearchLoggerList.cpp:679:108: error: invalid conversion from 'int (*)(long int, long int, long int)' to 'int (*)(long int, long int, long int)'
C:\Work\codeblocks_trunk\src\plugins\contrib\ThreadSearch\ThreadSearchLoggerList.cpp:679:108: error:   initializing argument 1 of 'bool wxListCtrl::SortItems(int (*)(long int, long int, long int), long int)'
C:\Work\codeblocks_trunk\src\plugins\contrib\ThreadSearch\ThreadSearchLoggerList.cpp:681:106: error: invalid conversion from 'int (*)(long int, long int, long int)' to 'int (*)(long int, long int, long int)'
C:\Work\codeblocks_trunk\src\plugins\contrib\ThreadSearch\ThreadSearchLoggerList.cpp:681:106: error:   initializing argument 1 of 'bool wxListCtrl::SortItems(int (*)(long int, long int, long int), long int)'
C:\Work\codeblocks_trunk\src\plugins\contrib\ThreadSearch\ThreadSearchLoggerList.cpp:716:94: error: invalid conversion from 'int (*)(long int, long int, long int)' to 'int (*)(long int, long int, long int)'
C:\Work\codeblocks_trunk\src\plugins\contrib\ThreadSearch\ThreadSearchLoggerList.cpp:716:94: error:   initializing argument 1 of 'bool wxListCtrl::SortItems(int (*)(long int, long int, long int), long int)'

Am I doing something wrong here? Any ideas?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: ThreadSearch on r7240 not compiling
« Reply #1 on: June 17, 2011, 10:09:46 am »
Trunk HEAD, should compile again, sorry for the inconvenience.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

daniloz

  • Guest
Re: ThreadSearch on r7240 not compiling
« Reply #2 on: June 17, 2011, 10:12:56 am »
Trunk HEAD, should compile again, sorry for the inconvenience.

It's working now! Thanks for the quick fix oBFusCATed! And no worries... :-)