Re: [Barry-devel] WinCE port of Barry
Status: Beta
Brought to you by:
ndprojects
From: Chris F. <cd...@fo...> - 2012-07-21 06:46:09
|
On Mon, Jul 16, 2012 at 12:10:28PM +0100, Toby Gray wrote: > The rest of the commits are a combination of changes to the code to fix > warnings or errors from the Microsoft compiler. If the commit messages > aren't detailed enough for any of these then let me know and I'll fill > in the gaps (and update the commit messages). I'm merging in the obvious fixes into master, and the changes that I think might need to wait until version 0.19.0 (due to abi changes, etc), I've put in a new branch v0.19.0. Expect that branch to be rebased on master periodically. I'm not quite done yet. You should be able to rebase your branch onto the v0.19.0 branch to see what I haven't processed yet. Some questions: 1) Can you explain why you need a lock() member in scoped_lock? The idea behind scoped_lock is to force its use in a scoped section, to prevent forgotten unlocks and to make the sections obvious. Was there a real need for it? 2) Author: Toby Gray <tob...@re...> Date: Thu Jun 7 15:46:53 2012 +0100 lib: Fixing incorrect forward declaration of ProbeResult as a struct, it's r eally a class. diff --git a/src/controller.h b/src/controller.h index 8e3ba85..41727c7 100644 --- a/src/controller.h +++ b/src/controller.h @@ -32,7 +32,7 @@ namespace Barry { // forward declarations class SocketRoutingQueue; -class ProbeResult; +struct ProbeResult; class PrivateControllerData; Is this a problem with the Microsoft compiler? I believe that strictly speaking, according to the C++ spec, class and struct can be used interchangeably. Thanks, - Chris |