Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: daniloz on June 17, 2011, 09:16:02 am

Title: ThreadSearch on r7240 not compiling
Post by: daniloz 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?
Title: Re: ThreadSearch on r7240 not compiling
Post by: oBFusCATed on June 17, 2011, 10:09:46 am
Trunk HEAD, should compile again, sorry for the inconvenience.
Title: Re: ThreadSearch on r7240 not compiling
Post by: daniloz 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... :-)