nnm-club# sh make.bsd.sh
In file included from ../misc/bt_tracker_account.cpp:2:
../misc/bt_tracker_account.h:36: error: 'Cvirtual_binary' does not name a type
../misc/bt_tracker_account.h:38: error: expected ',' or '...' before '&' token
../misc/bt_tracker_account.h:38: error: ISO C++ forbids declaration of 'Cvirtual_binary' with no type
../misc/bt_tracker_account.cpp:29: error: no 'Cvirtual_binary Cbt_tracker_accounts::dump() const' member function declared in class 'Cbt_tracker_accounts'
../misc/bt_tracker_account.cpp:54: error: prototype for 'void Cbt_tracker_accounts::load(const Cvirtual_binary&)' does not match any in class 'Cbt_tracker_accounts'
../misc/bt_tracker_account.h:38: error: candidate is: void Cbt_tracker_accounts::load(int)
nnm-club# sh make.bsd.sh
In file included from ../misc/bt_tracker_account.cpp:2:
../misc/bt_tracker_account.h:36: error: 'Cvirtual_binary' does not name a type
../misc/bt_tracker_account.h:38: error: expected ',' or '...' before '&' token
../misc/bt_tracker_account.h:38: error: ISO C++ forbids declaration of 'Cvirtual_binary' with no type
../misc/bt_tracker_account.cpp:29: error: no 'Cvirtual_binary Cbt_tracker_accounts::dump() const' member function declared in class 'Cbt_tracker_accounts'
../misc/bt_tracker_account.cpp:54: error: prototype for 'void Cbt_tracker_accounts::load(const Cvirtual_binary&)' does not match any in class 'Cbt_tracker_accounts'
../misc/bt_tracker_account.h:38: error: candidate is: void Cbt_tracker_accounts::load(int)
This was messed up @rev.1978, patch:
Index: bt_tracker_account.cpp
--- bt_tracker_account.cpp (revision 1982)
+++ bt_tracker_account.cpp (working copy)
@@ -1,4 +1,5 @@
#include "stdafx.h"
+#include "xbt/virtual_binary.h"
#include "bt_tracker_account.h"
#include "stream_reader.h"
You're right. Does BSD7 not work?
It works great, thanks.
But without that patch it can not be compiled under FreeBSD (i've tested only 7.2 amd64)
PS. Even without patch it compiles under CentOS (5.3 i386) via #make.sh
Does make.sh not work on FreeBSD 7? make.bsd.sh might no longer be required.
$./make.sh works under BSD only if you add
-I /usr/local/include
to it
Maybe I should do it then.