diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a6094b1 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +*.o +o/ diff --git a/Cache/MappedBlockCache.cpp b/Cache/MappedBlockCache.cpp index 973fb05..f525b8d 100644 --- a/Cache/MappedBlockCache.cpp +++ b/Cache/MappedBlockCache.cpp @@ -2,6 +2,7 @@ #include #include #include +#include #include #include diff --git a/Makefile b/Makefile index b52db4b..c9c17cf 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,6 @@ CC = c++ -CPPFLAGS += -Wall -W -Wno-multichar -Wno-c++11-narrowing -I. -O2 -g -std=c++11 +CPPFLAGS += -Wall -W -Wno-multichar -Wno-unused-parameter -Wno-unknown-pragmas -Wno-narrowing -I. -O2 -g -std=c++11 +LDFLAGS += -pthread UNAME = $(shell uname -s) ifeq ($(UNAME),Darwin) diff --git a/bin/apfm.cpp b/bin/apfm.cpp index 23b2f37..0dc76be 100644 --- a/bin/apfm.cpp +++ b/bin/apfm.cpp @@ -742,7 +742,7 @@ int action_get(int argc, char **argv, Pascal::VolumeEntry *volume) - File::File file(outfile, O_WRONLY | O_CREAT | O_TRUNC, 0666); + File file(outfile, O_WRONLY | O_CREAT | O_TRUNC, 0666); unsigned fileSize = entry->fileSize(); unsigned offset = 0; diff --git a/bin/fuse_pascal.cpp b/bin/fuse_pascal.cpp index 83d82e3..aeb8477 100644 --- a/bin/fuse_pascal.cpp +++ b/bin/fuse_pascal.cpp @@ -2,6 +2,7 @@ #include #include #include +#include #include #include diff --git a/bin/profuse.cpp b/bin/profuse.cpp index 81db146..d03f775 100644 --- a/bin/profuse.cpp +++ b/bin/profuse.cpp @@ -18,6 +18,7 @@ #include #include #include +#include #include #include