make[1]: Entering directory `/d/CakesForeveryWan/CakeBrah'
arm11.s utils.s
khaxinit.cpp
arm-none-eabi-g++ -MMD -MP -MF /d/CakesForeveryWan/CakeBrah/build/khaxinit.d -g -Wall -Wextra -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/d/CakesForeveryWan/CakeBrah/inc
lude -I/c/devkitPro/libctru/include -I/d/CakesForeveryWan/CakeBrah/build -DARM11 -D_3DS -DARM_ARCH -DLAUNCHER_PATH='"Cakes.dat"' -fno-rtti -fno-exceptions -std=gnu++11 -c /d/CakesForeveryWan/CakeBrah/source/libkhax/khaxinit.cpp -
o khaxinit.o
d:/CakesForeveryWan/CakeBrah/source/libkhax/khaxinit.cpp: In member function 'void* KHAX::VersionData::ConvertLinearUserVAToKernelVA(void*) const':
d:/CakesForeveryWan/CakeBrah/source/libkhax/khaxinit.cpp:273:44: error: invalid conversion from 'void*' to 'u32 {aka long unsigned int}' [-fpermissive]
u32 physical = osConvertVirtToPhys(address);
^
In file included from c:/devkitPro/libctru/include/3ds.h:13:0,
from d:/CakesForeveryWan/CakeBrah/source/libkhax/khaxinit.cpp:1:
c:/devkitPro/libctru/include/3ds/os.h:30:5: note: initializing argument 1 of 'u32 osConvertVirtToPhys(u32)'
u32 osConvertVirtToPhys(u32 vaddr);
^
d:/CakesForeveryWan/CakeBrah/source/libkhax/khaxinit.cpp: In function 'Result KHAX::IsNew3DS(bool*, u32)':
d:/CakesForeveryWan/CakeBrah/source/libkhax/khaxinit.cpp:983:47: error: cannot convert 'u8* {aka unsigned char*}' to 'Handle* {aka long unsigned int*}' for argument '1' to 'Result APT_CheckNew3DS(Handle*, u8*)'
if (Result error = APT_CheckNew3DS(&isNew3DS))
^
d:/CakesForeveryWan/CakeBrah/source/libkhax/khaxinit.cpp: In function 'Result KHAX::GSPwn(void*, const void*, std::size_t, bool)':
d:/CakesForeveryWan/CakeBrah/source/libkhax/khaxinit.cpp:1005:39: error: 'GX_TextureCopy' was not declared in this scope
static_cast<u32 *>(dest), 0, size, 8))
^
d:/CakesForeveryWan/CakeBrah/source/libkhax/khaxinit.cpp: In function 'Result KHAX::userFlushDataCache(const void*, std::size_t)':
d:/CakesForeveryWan/CakeBrah/source/libkhax/khaxinit.cpp:1022:35: error: invalid conversion from 'const void*' to 'Handle* {aka long unsigned int*}' [-fpermissive]
return GSPGPU_FlushDataCache(p, n);
^
d:/CakesForeveryWan/CakeBrah/source/libkhax/khaxinit.cpp:1022:35: error: invalid conversion from 'std::size_t {aka unsigned int}' to 'u8* {aka unsigned char*}' [-fpermissive]
d:/CakesForeveryWan/CakeBrah/source/libkhax/khaxinit.cpp:1022:35: error: too few arguments to function 'Result GSPGPU_FlushDataCache(Handle*, u8*, u32)'
In file included from c:/devkitPro/libctru/include/3ds/gfx.h:11:0,
from c:/devkitPro/libctru/include/3ds.h:14,
from d:/CakesForeveryWan/CakeBrah/source/libkhax/khaxinit.cpp:1:
c:/devkitPro/libctru/include/3ds/services/gsp.h:83:8: note: declared here
Result GSPGPU_FlushDataCache(Handle *handle, u8* adr, u32 size);
^
d:/CakesForeveryWan/CakeBrah/source/libkhax/khaxinit.cpp: In function 'Result KHAX::userInvalidateDataCache(const void*, std::size_t)':
d:/CakesForeveryWan/CakeBrah/source/libkhax/khaxinit.cpp:1027:40: error: invalid conversion from 'const void*' to 'Handle* {aka long unsigned int*}' [-fpermissive]
return GSPGPU_InvalidateDataCache(p, n);
^
d:/CakesForeveryWan/CakeBrah/source/libkhax/khaxinit.cpp:1027:40: error: invalid conversion from 'std::size_t {aka unsigned int}' to 'u8* {aka unsigned char*}' [-fpermissive]
d:/CakesForeveryWan/CakeBrah/source/libkhax/khaxinit.cpp:1027:40: error: too few arguments to function 'Result GSPGPU_InvalidateDataCache(Handle*, u8*, u32)'
In file included from c:/devkitPro/libctru/include/3ds/gfx.h:11:0,
from c:/devkitPro/libctru/include/3ds.h:14,
from d:/CakesForeveryWan/CakeBrah/source/libkhax/khaxinit.cpp:1:
c:/devkitPro/libctru/include/3ds/services/gsp.h:84:8: note: declared here
Result GSPGPU_InvalidateDataCache(Handle* handle, u8* adr, u32 size);
^
d:/CakesForeveryWan/CakeBrah/source/libkhax/khaxinit.cpp:1028:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
d:/CakesForeveryWan/CakeBrah/source/libkhax/khaxinit.cpp: In function 'Result KHAX::userFlushDataCache(const void*, std::size_t)':
d:/CakesForeveryWan/CakeBrah/source/libkhax/khaxinit.cpp:1023:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
make[2]: *** [khaxinit.o] Error 1
make[1]: *** [build] Error 2
make[1]: Leaving directory `/d/CakesForeveryWan/CakeBrah'
make: *** [out/3ds/Cakes/Cakes.3dsx] Error 2
D:\CakesForeveryWan>