Compare commits

..

No commits in common. "09503d3dc7e3368fd9fe513714fc2572095a20f1" and "aa971544741a6373b8a34498c51d033556ccb916" have entirely different histories.

2 changed files with 2 additions and 1 deletions

View File

@ -60,7 +60,7 @@ create_directory bin/tools
# add compile commands to this array
COMPILE_COMMANDS=(
"$CXX_WITH_FLAGS src/tools/dumpnbt.cpp -I./include -Lbin/lib -l:nbt.so -l:javacompat.so -l:cli.so -o bin/tools/dumpnbt"
#"$CXX_WITH_FLAGS src/tools/hexnet.cpp -I./include -Lbin/lib -l:cli.so -l:libsockpp.so -o bin/tools/hexnet"
"$CXX_WITH_FLAGS src/tools/hexnet.cpp -I./include -Lbin/lib -l:cli.so -l:libsockpp.so -o bin/tools/hexnet"
)
for command in ${!COMPILE_COMMANDS[@]}; do
echo "${COMPILE_COMMANDS[command]}"

View File

@ -23,6 +23,7 @@
#include <string>
#include "tinyutf8/tinyutf8.h"
#include "file.hpp"
#include "error.h"
File::File(std::string path, char mode, uint64_t cursorPosition): mode(mode), path(path), cursorPosition(cursorPosition){
try{