I’m using a GNU C/C++ compiler for a work project. The particular compiler is newer than what I’ve used in the past, and it’s actually a cross compiler.
I’m having multiple problems getting it to work properly. So far, everything can be chalked up to (re)learning curve and :smack: moments, but I still can’t get the stupid thing to digest STL template classes. The particular problem I’m seeing is that I include <list>, but <iterator> starts flagging nonsensical syntax errors. FWIW, I haven’t included <iterator>.
When I used GNU C++ in an academic environment (native mode), I had 0 problems. Similarly, the code I’m working with now was originally written in Visual C++, and it compiled just fine there, too.
I’ve spent 2 days now combing the GCC MAN pages for anything related to compiler switches or other options to indicate use of template classes, and I’ve come up empty. Help?!?