This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Cygwin upgrade to GCC-3.2 broke my other GCC installations!


I had configured, built, and installed various versions of GCC
--with-prefix=/usr/local/gcc-<version>, but now that I've allowed the
Cygwin installer to upgrade the default compiler to gcc-3.2, the
others are all broken (including my previous gcc-3.2
installation!). Here's an example of gcc-3.0.4 failing:

c:/cygnus/usr/local/gcc-3.0.4/bin/g++  -c -Wall -ftemplate-depth-100   -g -O0 -fno-inline    -I "c:\sandbox" -I "c:\sandbox\..\boost"  -o "bin\transform_iterator_test.test\gcc-3.0.4\debug\runtime-link-dynamic\transform_iterator_test.obj"  "transform_iterator_test.cpp" 

In file included from /usr/local/gcc-3.0.4/lib/gcc-lib/i686-pc-cygwin/3.0.4/include/g++/bits/fpos.h:40,
                 from /usr/local/gcc-3.0.4/lib/gcc-lib/i686-pc-cygwin/3.0.4/include/g++/bits/std_iosfwd.h:41,
                 from /usr/local/gcc-3.0.4/lib/gcc-lib/i686-pc-cygwin/3.0.4/include/g++/bits/std_ios.h:39,
                 from /usr/local/gcc-3.0.4/lib/gcc-lib/i686-pc-cygwin/3.0.4/include/g++/bits/std_ostream.h:39,
                 from /usr/local/gcc-3.0.4/lib/gcc-lib/i686-pc-cygwin/3.0.4/include/g++/bits/std_iostream.h:40,
                 from /usr/local/gcc-3.0.4/lib/gcc-lib/i686-pc-cygwin/3.0.4/include/g++/iostream:31,
                 from transform_iterator_test.cpp:15:
/usr/local/gcc-3.0.4/lib/gcc-lib/i686-pc-cygwin/3.0.4/include/g++/bits/std_cwchar.h:54: conflicting
   types for `typedef struct mbstate_t mbstate_t'
/usr/include/wchar.h:36: previous declaration as `typedef struct _mbstate_t 
   mbstate_t'


Does anyone know how I can repair things?

Thanks,
Dave

-- 
                    David Abrahams
dave@boost-consulting.com * http://www.boost-consulting.com



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]