mirror of
https://github.com/rvtr/ctr_Repair.git
synced 2025-10-31 13:51:08 -04:00
警告対策
テスト用設定をtest_common.hにまとめる git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_Repair@567 385bec56-5757-e545-9c3a-d8741f4650f1
This commit is contained in:
parent
c35367985a
commit
a1df85d401
@ -82,14 +82,17 @@ std::string BgsCommunicator::GetXml()
|
||||
|
||||
bool BgsCommunicator::Execute()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
size_t BgsCommunicator::GetBodySize()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
void BgsCommunicator::GetBody(void *buf)
|
||||
{
|
||||
NN_UNUSED_VAR(buf);
|
||||
}
|
||||
|
||||
} /* namespace ConsoleRestore */
|
||||
|
||||
@ -20,8 +20,7 @@
|
||||
#if defined(__ARMCC_VERSION)
|
||||
#include <nn.h>
|
||||
#else
|
||||
#include <cstddef>
|
||||
#include "types.h"
|
||||
#include "test_common.h"
|
||||
#endif
|
||||
|
||||
namespace ConsoleRestore
|
||||
|
||||
@ -19,9 +19,7 @@
|
||||
#include <nn.h>
|
||||
#include <nn/cfg.h>
|
||||
#else
|
||||
#include <cstddef>
|
||||
#include "types.h"
|
||||
#include "stub.h"
|
||||
#include "test_common.h"
|
||||
#endif
|
||||
|
||||
const size_t PATHLIST_LENGTH = 32;
|
||||
|
||||
@ -11,7 +11,7 @@ SRC_FILES[] =
|
||||
|
||||
# テストディレクトリ外にあるので独自ルールでビルド
|
||||
BgsCommunicator$(EXT_OBJ): ../../../ConsoleRestore/BgsCommunicator.cpp
|
||||
$(CXX) $(PREFIXED_INCLUDES) -c $<
|
||||
$(CXX) $(CXXFLAGS) $(PREFIXED_INCLUDES) -c $<
|
||||
|
||||
.DEFAULT: BgsCommunicator$(EXT_OBJ) $(TARGET)$(EXE)
|
||||
|
||||
|
||||
@ -10,9 +10,11 @@ SRC_FILES[] =
|
||||
testUtil
|
||||
RegionIdModifier
|
||||
|
||||
CXXFLAGS += -DPCTEST_USE_STUB
|
||||
|
||||
# テストディレクトリ外にあるので独自ルールでビルド
|
||||
RegionIdModifier$(EXT_OBJ): ../../../ConsoleRestore/RegionIdModifier.cpp
|
||||
$(CXX) $(PREFIXED_INCLUDES) -c $<
|
||||
$(CXX) $(CXXFLAGS) $(PREFIXED_INCLUDES) -c $<
|
||||
|
||||
.DEFAULT: RegionIdModifier$(EXT_OBJ) $(TARGET)$(EXE)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user