kavinsiva
24th September 2009, 06:23
Hi,
I written a sample code in Qt4.5 while make it giving following error
<error>
/usr/include/c++/4.4/iostream:39:28: error: bits/c++config.h: No such
file or directory
In file included from /usr/include/c++/4.4/iosfwd:41,
from /usr/include/c++/4.4/ios:39,
from /usr/include/c++/4.4/ostream:40,
from /usr/include/c++/4.4/iostream:40,
from test.c:3:
/usr/include/c++/4.4/bits/stringfwd.h: In function
‘_GLIBCXX_BEGIN_NAMESPACE’:
/usr/include/c++/4.4/bits/stringfwd.h:44: error: expected declaration
specifiers before ‘template’
/usr/include/c++/4.4/bits/stringfwd.h:47: error: expected declaration
specifiers before ‘template’
/usr/include/c++/4.4/bits/functexcept.h:51: error: declaration for
parameter ‘__throw_bad_cast’ but no such parameter
/usr/include/c++/4.4/bits/functexcept.h:47: error: declaration for
parameter ‘__throw_bad_alloc’ but no such parameter
test.c:7: error: expected ‘{’ at end of input
</error>
pls Help me
SivaKumar
I written a sample code in Qt4.5 while make it giving following error
<error>
/usr/include/c++/4.4/iostream:39:28: error: bits/c++config.h: No such
file or directory
In file included from /usr/include/c++/4.4/iosfwd:41,
from /usr/include/c++/4.4/ios:39,
from /usr/include/c++/4.4/ostream:40,
from /usr/include/c++/4.4/iostream:40,
from test.c:3:
/usr/include/c++/4.4/bits/stringfwd.h: In function
‘_GLIBCXX_BEGIN_NAMESPACE’:
/usr/include/c++/4.4/bits/stringfwd.h:44: error: expected declaration
specifiers before ‘template’
/usr/include/c++/4.4/bits/stringfwd.h:47: error: expected declaration
specifiers before ‘template’
/usr/include/c++/4.4/bits/functexcept.h:51: error: declaration for
parameter ‘__throw_bad_cast’ but no such parameter
/usr/include/c++/4.4/bits/functexcept.h:47: error: declaration for
parameter ‘__throw_bad_alloc’ but no such parameter
test.c:7: error: expected ‘{’ at end of input
</error>
pls Help me
SivaKumar