Compiling issues - cause by older gcc version?

Compiling issues - cause by older gcc version?

I introduced something similar to this:

template<typename _Key> using my_set = unordered_set<_Key>;

in my program. It compiles fine on my computer (gcc 4.7.2) but on the Cluster I get the error:

error: expected unqualified-id before ‘using’

I believe I read somewhere the hard- and software specifications of the cluster, but I can't find them. So, is there a bug in my code or is the gcc on the cluseter < 4.7?

Rock the bits!
4 posts / 0 nouveau(x)
Dernière contribution
Reportez-vous à notre Notice d'optimisation pour plus d'informations sur les choix et l'optimisation des performances dans les produits logiciels Intel.

Hey,
Yes, it seems that the compiler on the cluster is older, take a look at the problem's page and you got the answer :
http://puu.sh/1tKJL

But I can't help you on the error... :/
Hope it helped you,

Regards

Timothé Viot, Engineer student, Insa Rennes 1 France

Unfortunately, the version installed is the 4.6.3

Thank you!
Yeah, it's doable without the template typedefs, just not as elegant ;)

Rock the bits!

Connectez-vous pour laisser un commentaire.