HPCE / hpce-2017-cw6

2 stars 17 forks source link

no std::list on AWS #49

Open pjlehmann opened 6 years ago

pjlehmann commented 6 years ago

I would like to use std::list and my code compiles fine on my machine, but on AWS I get a compiler error saying that list is not a member of std. Is this something I can fix or could the std library on the AWS be made to contain list?

Thanks for any suggestions

m8pple commented 6 years ago

As far as I know, std::list should be available, as its should be in every single C++ implementation.

What is the actual compiler error message?

Do you definitely have #include <list> somewhere, before you try to make use of it? Sometimes some platforms/compilers will over-include things, but others will be stricter.