gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

C/C++ > C++ compiler for GBA

#6800 - Ninj4D4n - Mon Jun 02, 2003 11:41 pm

hey all,
I've been using devkit advance for awhile and been doing fine using C, but i was wondering if there was any compiler for using C++. Specifically I want class, templete, and dynamic memory support if possible. I do have someone's sample code i found online and it uses c++, but i don't know what they used to compile it.

thanks
--Ninj4D4n

#6802 - tepples - Tue Jun 03, 2003 12:57 am

Ninj4D4n wrote:
I've been using devkit advance for awhile and been doing fine using C, but i was wondering if there was any compiler for using C++. Specifically I want class, templete, and dynamic memory support if possible.

DevKit Advance R5 Beta 3 should solve any problems that you have been having with C++.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#6865 - Jason Wilkins - Tue Jun 03, 2003 8:13 pm

I have not tested C++ much, but I resently confirmed that try/catch works as expected and I used a litte bit of STL as well.

A bug has been reported which appears when you compile with the -mthumb/-mthumb-interwork flags and use STL. I believe that a static constructor goes wrong.
_________________
http://devkitadv.sourceforge.net