[Bug c++/63946] New: [Compilation error] Compilation fails giving error in iomanip.

2014-11-18 Thread bhasker.bamsiya at aricent dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63946

Bug ID: 63946
   Summary: [Compilation error] Compilation fails giving error in
iomanip.
   Product: gcc
   Version: 4.4.6
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c++
  Assignee: unassigned at gcc dot gnu.org
  Reporter: bhasker.bamsiya at aricent dot com

This is a random issue. Compilation of our code base fails showing errors in
standard files.
The only solution is to uninstall and install libstdc++. 

The error logs are as follows :- 


/root/.jenkins/jobs/1.01_UNISON_TRUNK/workspace/code//algo_engine/common_utils/src/UnisonAeCommonUtils.cpp
In file included from ./include/UnisonAeCommonUtils.hpp:21,
 from
/root/.jenkins/jobs/1.01_UNISON_TRUNK/workspace/code//algo_engine/common_utils/src/UnisonAeCommonUtils.cpp:17:
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/iomanip:49:
error: ‘ios_base’ has not been declared
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/iomanip:49:
error: expected ‘;’ before ‘_M_mask’
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/iomanip:59:
error: ‘std::resetiosflags’ declared as an ‘inline’ variable
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/iomanip:59:
error: ‘ios_base’ has not been declared
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/iomanip:60:
error: expected ‘,’ or ‘;’ before ‘{’ token
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/iomanip:67:
error: expected initializer before ‘<’ token
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/iomanip:75:
error: expected initializer before ‘<’ token
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/iomanip:83:
error: ‘ios_base’ has not been declared
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/iomanip:83:
error: expected ‘;’ before ‘_M_mask’
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/iomanip:93:
error: ‘std::setiosflags’ declared as an ‘inline’ variable
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/iomanip:93:
error: ‘ios_base’ has not been declared
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/iomanip:94:
error: expected ‘,’ or ‘;’ before ‘{’ token
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/iomanip:101:
error: expected initializer before ‘<’ token
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/iomanip:109:
error: expected initializer before ‘<’ token
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/iomanip:136:
error: expected initializer before ‘<’ token
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/iomanip:147:
error: expected initializer before ‘<’ token
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/iomanip:178:
error: expected initializer before ‘<’ token
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/iomanip:186:
error: expected initializer before ‘<’ token
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/iomanip:212:
error: expected initializer before ‘<’ token
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/iomanip:220:
error: expected initializer before ‘<’ token
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/iomanip:246:
error: expected initializer before ‘<’ token
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/iomanip:254:
error: expected initializer before ‘<’ token
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/iomanip:265:
error: explicit instantiation of non-template ‘int std::ostream’
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/iomanip:265:
error: expected ‘;’ before ‘&’ token
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/iomanip:266:
error: explicit instantiation of non-template ‘int std::ostream’
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/iomanip:266:
error: expected ‘;’ before ‘&’ token
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/iomanip:267:
error: explicit instantiation of non-template ‘int std::ostream’
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/iomanip:267:
error: expected ‘;’ before ‘&’ token
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/iomanip:268:
error: explicit instantiation of non-template ‘int std::ostream’
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/iomanip:268:
error: expected ‘;’ before ‘&’ token
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/iomanip:269:
error: explicit instantiation of non-template ‘int std::ostream’
/usr/lib/gcc/x86_64-redhat-l

[Bug c++/63946] [Compilation error] Compilation fails giving error in iomanip.

2014-11-18 Thread bhasker.bamsiya at aricent dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63946

Bhasker Bamsiya  changed:

   What|Removed |Added

   Severity|normal  |major