title: Enforcing the C++98 standard in gcc
body: <p>I have a school assignment that should be written in C++98-compliant code. How can I force <code>g++</code> to accept only code that follows this standard? Will <code>-std=c++98</code> do the trick or do I need to add additional flags?</p>