C++11 supported?

If you have any questions on programming, this is the place to ask them, whether you're a newbie or an experienced programmer. Discussion on programming in general is also welcome. We will help you with programming homework, but we will not do your work for you! Any porting requests must be made in Developmental Ideas.
Post Reply
User avatar
bbmario
DCEmu Freak
DCEmu Freak
Posts: 69
Joined: Wed Feb 05, 2014 5:58 am
Has liked: 1 time
Been liked: 0

C++11 supported?

Post by bbmario » Mon May 16, 2016 5:42 pm

Does the KOS kit support C++11 features such as shared_ptr and auto?
User avatar
BlueCrab
The Crabby Overlord
The Crabby Overlord
Posts: 5399
Joined: Mon May 27, 2002 11:31 am
Location: Sailing the Skies of Arcadia
Has liked: 1 time
Been liked: 14 times
Contact:

Re: C++11 supported?

Post by BlueCrab » Mon May 16, 2016 5:54 pm

That's all GCC-level stuff. If the version of GCC you're using supports it, then so should whatever you write on the Dreamcast with that.

I know that shared_ptr should definitely be supported by the version of GCC that I've recommended for use with KOS.
User avatar
bbmario
DCEmu Freak
DCEmu Freak
Posts: 69
Joined: Wed Feb 05, 2014 5:58 am
Has liked: 1 time
Been liked: 0

Re: C++11 supported?

Post by bbmario » Mon May 16, 2016 9:46 pm

Does KOS support GCC 5.3?
User avatar
BlueCrab
The Crabby Overlord
The Crabby Overlord
Posts: 5399
Joined: Mon May 27, 2002 11:31 am
Location: Sailing the Skies of Arcadia
Has liked: 1 time
Been liked: 14 times
Contact:

Re: C++11 supported?

Post by BlueCrab » Tue May 17, 2016 12:23 pm

There are no patches provided for any version after 4.7.x, for a number of reasons.

You can try to make the 4.7.x patches work on 5.3 (some have used later 4.x versions at least), but it is inherently unsupported.

I'll probably look into supporting a newer version of GCC at some point this summer, but I won't have time for at least the next couple of weeks.
Post Reply