This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Problem with G++ include files (fwd)
- From: Sumith Makam <makampec at iitr dot ernet dot in>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 30 Apr 2004 23:33:38 -0500 (GMT)
- Subject: Problem with G++ include files (fwd)
Date: Fri, 30 Apr 2004 23:22:35 -0500 (GMT)
From: Sumith Makam <makampec@iitr.ernet.in>
To: gcc-help-help@gcc.gnu.org
Subject: Problem with G++ include files
Hi all
As part of my work, I need both gcc-3.2 and gcc-2.95. And so, I've
installed gcc-2.95 after gcc3.2. So, whenever I compile the programs with
g++-3.2, include files from gcc-2.95 are included. And so, I manually
included the needed haeder files with -I tag...
But now I'm getting a problem of syntax errors in the included files and
the errors are not just in 2 or 3 files but in tens of files...
********************************************************************
/usr/include/c++/3.2.2/bits/stl_heap.h: In function `void
pop_heap(_RandomAccessIterator, _RandomAccessIterator, _Compare)':
/usr/include/c++/3.2.2/bits/stl_heap.h:217: parse error before `>'
/usr/include/c++/3.2.2/bits/stl_heap.h: In function `void
make_heap(_RandomAccessIterator,
_RandomAccessIterator)':
/usr/include/c++/3.2.2/bits/stl_heap.h:233: parse error before `>'
/usr/include/c++/3.2.2/bits/stl_heap.h: In function `void
make_heap(_RandomAccessIterator,
_RandomAccessIterator, _Compare)':
/usr/include/c++/3.2.2/bits/stl_algo.h:1009: parse error before `>'
/usr/include/c++/3.2.2/bits/stl_algo.h:1015: parse error before `)'
/usr/include/c++/3.2.2/bits/stl_algo.h: At top level:
/usr/include/c++/3.2.2/bits/stl_algo.h:1020: parse error before `return'
/usr/include/c++/3.2.2/bits/stl_algo.h: In function `_ForwardIter
remove(_ForwardIter, _ForwardIter, const _Tp &)':
***********************************************************************
can anyone help me out?
Sumith Makam
M.Tech CSE II Yr
IIT Roorkee
----------------------------------------- (on isc)
________________________________________________________________________
Powered by TREND VirusWall: Information Superhighway Centre, IIT Roorkee
---------------------------------------------------------