[tor-dev] Call for testing/review: obfsclient
yawning at schwanenlied.me
Mon Feb 17 19:34:36 UTC 2014
On Mon, 17 Feb 2014 15:39:07 +0100
Fabian Keil <freebsd-listen at fabiankeil.de> wrote:
> Were you able to build it on your FreeBSD 9.1p10 system using
Not yet, I've been working on adding support for logging.
I will address the GCC build issues when I'm done working on that. The
system gcc on 9.1p10 is ancient (4.2.1), and does not support C++11,
so I would have to install gcc from ports.
I have somewhat mixed feelings about working around compiler bugs,
but as of this date, gcc 4.7.x is probably still far too common to
not support. Anything earlier than that start to run into more C++11
Looking at the rest of the log:
* 'to_string' is not a member of 'std'
-> the file needs #include <string>
* invalid operands of types 'int' and 'void' to binary 'operator!='
-> OpenSSL changed the function prototypes for the hmac routines.
The code is correct for modern OpenSSL, but it looks like
FreeBSD-9.2 ships with 0.9.x. I'll add a bunch of #ifdefs to do
the right thing.)
Looking at the patches:
* Patch 1 tramples over my most recent change to main.cc, will fix
* Instead of errno.h, cerrno is more appropriate, the constants
should use the std namespace ones as well, will fix when merging.
Thanks again for the patches,
: [C++11] <:: is incorrectly treated as digraph <: followed by colon
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: not available
More information about the tor-dev