I am new to DreamSDK and dc development and I have a few questions.
I wrote a little c++ code and tried to compile it.
The terminal regularly prompts me this note:
But the Manager always tells me that I am up to date. Maybe some of you have some information about this.D:/Dev/DreamSDK/msys/1.0/opt/toolchains/dc/kos/kernel/arch/dreamcast/include/arch/arch.h:32:10: note: #pragma message: Outdated toolchain: not patched for 32MB support, limiting KOS to 16MB-only behavior to retain maximum compatibility. Please update toolchain.
The other thing is that I am not really sure how I can enable C++11 or newer features as I get warning or error messages like:
vec is a variable. Its datatype is a struct called vector2error: in C++98 'vec' must be initialized by constructor, not by '{...}'
Code: Select all
struct vector2
{
int x = 0;
int y = 0;
};
Code: Select all
vector2 vec = { 10, 10 };
My code works flawlessly in msvc but not with gcc as you can see.
warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 [enabled by default]
warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default]
This one is really weird, so C++11 is not enabled?!error: 'nullptr' was not declared in this scope
I tried a few things but the makefile ignores it maybe because of the makefile.rules applied, I don't know.
I hope some of you can help me.
Edit:
My code compiles fine under WSL (Ubuntu)
I also tested the DreamSDK R3-dev build, but this is completely unsusable for me. I can't get any of the kos-ports compiled without an error.