X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Jim Michaels Newsgroups: comp.os.msdos.djgpp Subject: errors using C++ libraries Date: Wed, 31 Dec 2008 14:39:11 -0800 (PST) Organization: http://groups.google.com Lines: 76 Message-ID: NNTP-Posting-Host: 76.115.70.155 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1230763151 15560 127.0.0.1 (31 Dec 2008 22:39:11 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Wed, 31 Dec 2008 22:39:11 +0000 (UTC) Complaints-To: groups-abuse AT google DOT com Injection-Info: g1g2000pra.googlegroups.com; posting-host=76.115.70.155; posting-account=05hOMwoAAAB6R8xtiQKzEljSMzgOhVF1 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5,gzip(gfe),gzip(gfe) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I am getting massive errors using gpp and C++ libraries like iostream. here are the messages I get for iostream: The strange thing is, I was able to compile the progra f:/djgpp/v2gnu/bin/../lib/gcc/djgpp/4.10/../../../../include/cxx/4.10/ bits/ios_b ase.h: In member function 'std::_Ios_Fmtflags std::ios_base::setf (std::_Ios_Fmtf lags)': f:/djgpp/v2gnu/bin/../lib/gcc/djgpp/4.10/../../../../include/cxx/4.10/ bits/ios_b ase.h:577: error: cannot bind packed field '((std::ios_base*)this)- >std::ios_bas e::_M_flags' to 'std::_Ios_Fmtflags&' f:/djgpp/v2gnu/bin/../lib/gcc/djgpp/4.10/../../../../include/cxx/4.10/ bits/ios_b ase.h: In member function 'std::_Ios_Fmtflags std::ios_base::setf (std::_Ios_Fmtf lags, std::_Ios_Fmtflags)': f:/djgpp/v2gnu/bin/../lib/gcc/djgpp/4.10/../../../../include/cxx/4.10/ bits/ios_b ase.h:594: error: cannot bind packed field '((std::ios_base*)this)- >std::ios_bas e::_M_flags' to 'std::_Ios_Fmtflags&' f:/djgpp/v2gnu/bin/../lib/gcc/djgpp/4.10/../../../../include/cxx/4.10/ bits/ios_b ase.h:595: error: cannot bind packed field '((std::ios_base*)this)- >std::ios_bas e::_M_flags' to 'std::_Ios_Fmtflags&' f:/djgpp/v2gnu/bin/../lib/gcc/djgpp/4.10/../../../../include/cxx/4.10/ bits/ios_b ase.h: In member function 'void std::ios_base::unsetf (std::_Ios_Fmtflags)': f:/djgpp/v2gnu/bin/../lib/gcc/djgpp/4.10/../../../../include/cxx/4.10/ bits/ios_b ase.h:606: error: cannot bind packed field '((std::ios_base*)this)- >std::ios_bas e::_M_flags' to 'std::_Ios_Fmtflags&' f:/djgpp/v2gnu/bin/../lib/gcc/djgpp/4.10/../../../../include/cxx/4.10/ bits/ios_b ase.h: In member function 'long int& std::ios_base::iword(int)': f:/djgpp/v2gnu/bin/../lib/gcc/djgpp/4.10/../../../../include/cxx/4.10/ bits/ios_b ase.h:738: error: cannot bind packed field '__word- >std::ios_base::_Words::_M_iw ord' to 'long int&' f:/djgpp/v2gnu/bin/../lib/gcc/djgpp/4.10/../../../../include/cxx/4.10/ bits/ios_b ase.h: In member function 'void*& std::ios_base::pword(int)': f:/djgpp/v2gnu/bin/../lib/gcc/djgpp/4.10/../../../../include/cxx/4.10/ bits/ios_b ase.h:759: error: cannot bind packed field '__word- >std::ios_base::_Words::_M_pw ord' to 'void*&' f:/djgpp/v2gnu/bin/../lib/gcc/djgpp/4.10/../../../../include/cxx/4.10/ bits/basic _ios.h: In member function 'void std::basic_ios<_CharT, _Traits>::_M_setstate(st d::_Ios_Iostate) [with _CharT = char, _Traits = std::char_traits]': f:/djgpp/v2gnu/bin/../lib/gcc/djgpp/4.10/../../../../include/cxx/4.10/ bits/ostre am.tcc:757: instantiated from 'std::basic_ostream& std::operato r<<(std::basic_ostream&, const char*) [with _Traits = std::char_t raits]' uniq.cpp:275: instantiated from here f:/djgpp/v2gnu/bin/../lib/gcc/djgpp/4.10/../../../../include/cxx/4.10/ bits/basic _ios.h:154: error: cannot bind packed field '((std::basic_ios >*)this)->std::basic_ios >::. std::ios_base::_M_streambuf_state' to 'std::_Ios_Iostate&'