gcc4 build fixes.
This commit is contained in:
@@ -12,7 +12,7 @@ StdBinCommands
|
||||
bfswhich.cpp
|
||||
recover.cpp
|
||||
|
||||
: libbfs_tools.a be : $(haiku-utils_rsrc
|
||||
: libbfs_tools.a be $(TARGET_LIBSTDC++) : $(haiku-utils_rsrc)
|
||||
;
|
||||
|
||||
SubInclude HAIKU_TOP src bin bfs_tools lib ;
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
|
||||
#include <List.h>
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "Cache.h"
|
||||
#include "bfs.h"
|
||||
|
||||
@@ -158,7 +160,7 @@ class BPlusTree {
|
||||
bool CheckNode(bplustree_node *node);
|
||||
|
||||
private:
|
||||
friend NodeCache;
|
||||
friend class NodeCache;
|
||||
bplustree_node *Node(off_t nodeoffset,bool check = true);
|
||||
|
||||
private:
|
||||
|
||||
@@ -8,6 +8,8 @@
|
||||
|
||||
#include <SupportDefs.h>
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
template<class T> class Cache
|
||||
{
|
||||
|
||||
@@ -235,7 +235,7 @@ Disk::DumpBootBlockToFile()
|
||||
|
||||
|
||||
status_t
|
||||
Disk::ScanForSuperBlock(off_t start = 0, off_t stop = -1)
|
||||
Disk::ScanForSuperBlock(off_t start, off_t stop)
|
||||
{
|
||||
printf("Disk size %Ld bytes, %.2f GB\n", fSize, 1.0 * fSize / (1024*1024*1024));
|
||||
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
#include <File.h>
|
||||
#include <Path.h>
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "Bitmap.h"
|
||||
#include "bfs.h"
|
||||
#include "Cache.h"
|
||||
|
||||
@@ -192,7 +192,7 @@ void Hashtable::Rewind()
|
||||
|
||||
|
||||
void
|
||||
Hashtable::MakeEmpty(int8 keyMode = HASH_EMPTY_NONE,int8 valueMode = HASH_EMPTY_NONE)
|
||||
Hashtable::MakeEmpty(int8 keyMode,int8 valueMode)
|
||||
{
|
||||
fModCount++;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user