ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2008/12/31/17:46:47

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Jim Michaels <jmichae3 AT yahoo DOT com>
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: <fe137193-3c79-4ae8-82b7-2f0e438942fc@g1g2000pra.googlegroups.com>
NNTP-Posting-Host: 76.115.70.155
Mime-Version: 1.0
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<char>]':
f:/djgpp/v2gnu/bin/../lib/gcc/djgpp/4.10/../../../../include/cxx/4.10/
bits/ostre
am.tcc:757:   instantiated from 'std::basic_ostream<char, _Traits>&
std::operato
r<<(std::basic_ostream<char, _Traits>&, const char*) [with _Traits =
std::char_t
raits<char>]'
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<char,
std::char_tr
aits<char> >*)this)->std::basic_ios<char, std::char_traits<char>
>::<anonymous>.
std::ios_base::_M_streambuf_state' to 'std::_Ios_Iostate&'

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019