This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
help- URGENT build errors while using gcc
- To: gcc at gcc dot gnu dot org
- Subject: help- URGENT build errors while using gcc
- From: "Radhika Shenoy" <meradix at hotmail dot com>
- Date: Mon, 23 Jul 2001 16:52:21 +0530
Hi,
I am getting errors of this type =>
/vobs/snps/syn/uisyn/schem/gen/gen_int_struct.h:53: `typedef struct
pair_struct * pair'
redeclared as different kind of symbol
/depot/gcc-2.95.2-OS7/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/../../../../include/g++-3/stl_pair.h:37:
previous declaration of `template <class _T1, class _T2> struct
pair<_T1,_T2>'
This is because i have a set of old files (created even before the creation
of the c++ std
libraries) these files have user defined data types named as "set" and
"pair". and there is a
conflict between these two and the "Stl" set and pair datatypes.
Is there any way to avoid these errors? i need to use the stl variables too
but they are in other
files, which are also part of teh same project, the stl set and teh old set
are used in two
different files. the ordinary CC compilation does not give me these errors!!
Can you tell me how to tackle this??
-Thanks
Radhika
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp