title: Unable to compile any C++ Code
body: <p>Whenever I try to compile a C++ file with IOStream ,  I get this error.. I've tried reinstalling GCC G++ (both 4.6 and 4.9) AND cpp.. It hasnt helped (or maybe I didnt do it the right way). How do I fix this error</p>
  
  <pre><code>In file included from /usr/include/c++/4.9/bits/localefwd.h:40:0,
               from /usr/include/c++/4.9/ios:41,
               from /usr/include/c++/4.9/ostream:38,
               from /usr/include/c++/4.9/iostream:39,
               from Integration_Any.cpp:1:
  /usr/include/x86_64-linux-gnu/c++/4.9/bits/c++locale.h:52:23: error:‘uselocale’was         not declared in this scope
     extern "C" __typeof(uselocale) __uselocale;
                     ^
  /usr/include/x86_64-linux-gnu/c++/4.9/bits/c++locale.h:52:45: error: invalid type in    declaration before ‘;’ token
     extern "C" __typeof(uselocale) __uselocale;
                                           ^
  /usr/include/x86_64-linux-gnu/c++/4.9/bits/c++locale.h: In function ‘int     std::__convert_from_v(__locale_struct* const&amp;, char*, int, const char*, ...)’:       /usr/include/x86_64-linux-gnu/c++/4.9/bits/c++locale.h:75:53: error:     ‘__gnu_cxx::__uselocale’ cannot be used as a function
       __c_locale __old = __gnu_cxx::__uselocale(__cloc);
                                                   ^
  /usr/include/x86_64-linux-gnu/c++/4.9/bits/c++locale.h:100:33: error:     ‘__gnu_cxx::__uselocale’ cannot be used as a function
       __gnu_cxx::__uselocale(__old);
                               ^
  </code></pre>