Are you sure it's not a newer CPP standard? It's been ages since I coded any bigger CPP stuff, but I remember having to use references in this case. Devkitpro uses an older compiler, so if it's a newer standard it may not work properly. I could be wrong, however, no harm in checking how it works...