Skip to content

Instantly share code, notes, and snippets.

@fversnel
Created August 24, 2015 12:44
Show Gist options
  • Save fversnel/2c9c137784526ae517a7 to your computer and use it in GitHub Desktop.
Save fversnel/2c9c137784526ae517a7 to your computer and use it in GitHub Desktop.
frank@ui:~/Desktop/RakNet/DependentExtensions/Swig$ ./MakeSwig.sh ../../Source/
Performing Swig build
without SQLiteClientLogger
../../Source/RakNetDefines.h:28: Warning 305: Bad constant value (ignored).
../../Source/RakPeer.h:57: Warning 401: Nothing known about base class 'RNS2EventHandler'. Ignored.
../../Source/NatTypeDetectionClient.h:45: Warning 401: Nothing known about base class 'RNS2EventHandler'. Ignored.
../../Source/NatTypeDetectionServer.h:55: Warning 401: Nothing known about base class 'RNS2EventHandler'. Ignored.
../../Source/RakWString.h:40: Warning 503: Can't wrap 'operator wchar_t*' unless renamed to a valid identifier.
Swig build complete
Removing and replacing the sample cs files with fresh ones
mv: cannot stat ‘./SwigLinuxCSharpSample/TestMain.cs’: No such file or directory
mv: cannot stat ‘./SwigLinuxCSharpSample/TestMain.txt’: No such file or directory
Building the Swig Dynamic Link
Building without SQLiteClientLogger
NatPunchthroughClient.cpp: In function ‘char* TestModeToString(RakNet::NatPunchthroughClient::SendPing::TestMode)’:
NatPunchthroughClient.cpp:800:11: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
return "TESTING_INTERNAL_IPS";
^
NatPunchthroughClient.cpp:803:11: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
return "WAITING_FOR_INTERNAL_IPS_RESPONSE";
^
NatPunchthroughClient.cpp:809:11: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
return "TESTING_EXTERNAL_IPS_FACILITATOR_PORT_TO_FACILITATOR_PORT";
^
NatPunchthroughClient.cpp:812:11: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
return "TESTING_EXTERNAL_IPS_1024_TO_FACILITATOR_PORT";
^
NatPunchthroughClient.cpp:815:11: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
return "TESTING_EXTERNAL_IPS_FACILITATOR_PORT_TO_1024";
^
NatPunchthroughClient.cpp:818:11: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
return "TESTING_EXTERNAL_IPS_1024_TO_1024";
^
NatPunchthroughClient.cpp:821:11: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
return "WAITING_AFTER_ALL_ATTEMPTS";
^
NatPunchthroughClient.cpp:824:11: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
return "PUNCHING_FIXED_PORT";
^
NatPunchthroughClient.cpp:827:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
return "";
^
In file included from ./ReliabilityLayer.h:32:0,
from ./RakPeer.h:22,
from ../DependentExtensions/Swig/SwigOutput/CplusDLLIncludes/RakNet_wrap.cxx:377:
./DS_BPlusTree.h: In instantiation of ‘static void DataStructures::BPlusTree<KeyType, DataType, order>::PrintLeaf(DataStructures::Page<KeyType, DataType, order>*, int) [with KeyType = unsigned int; DataType = DataStructures::Table::Row*; int order = 16]’:
./DS_BPlusTree.h:1008:24: required from ‘void DataStructures::BPlusTree<KeyType, DataType, order>::PrintLeaves() [with KeyType = unsigned int; DataType = DataStructures::Table::Row*; int order = 16]’
../DependentExtensions/Swig/SwigOutput/CplusDLLIncludes/RakNet_wrap.cxx:26311:23: required from here
./DS_BPlusTree.h:1003:55: warning: format ‘%i’ expects argument of type ‘int’, but argument 3 has type ‘DataStructures::Table::Row*’ [-Wformat=]
RAKNET_DEBUG_PRINTF(" %i. %i\n", i+1, leaf->data[i]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment