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: 88
https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
Joined: Wed Feb 05, 2014 5:58 am
Has thanked: 9 times
Been thanked: 3 times

C++11 supported?

Post by bbmario »

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

Re: C++11 supported?

Post by BlueCrab »

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: 88
Joined: Wed Feb 05, 2014 5:58 am
Has thanked: 9 times
Been thanked: 3 times

Re: C++11 supported?

Post by bbmario »

Does KOS support GCC 5.3?
User avatar
BlueCrab
The Crabby Overlord
The Crabby Overlord
Posts: 5652
Joined: Mon May 27, 2002 11:31 am
Location: Sailing the Skies of Arcadia
Has thanked: 9 times
Been thanked: 69 times
Contact:

Re: C++11 supported?

Post by BlueCrab »

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