delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2009/01/20/00:46:41

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: Re: errors using C++ libraries
Date: Mon, 19 Jan 2009 21:32:06 -0800 (PST)
Organization: http://groups.google.com
Lines: 145
Message-ID: <eb42d8cc-2537-43ed-ad41-bc9a60a160c4@r10g2000prf.googlegroups.com>
References: <fe137193-3c79-4ae8-82b7-2f0e438942fc AT g1g2000pra DOT googlegroups DOT com>
<21cb02cc-b32a-4057-b191-8dcd61624c63 AT p2g2000prf DOT googlegroups DOT com>
<9e625b31-0599-4156-90c1-0d98aeba94c4 AT e6g2000vbe DOT googlegroups DOT com>
<24847567-cad8-4c1e-ac21-dc24ae7f06c3 AT v39g2000pro DOT googlegroups DOT com>
<37e501e1-688d-4814-9043-5f53eeacba10 AT r15g2000prh DOT googlegroups DOT com>
<cfdac324-ea58-44d6-9fe2-211d9d90f2bc AT r15g2000prh DOT googlegroups DOT com>
<6cbd46b4-0b3e-4361-aabc-82d22598458d AT o40g2000yqb DOT googlegroups DOT com>
<65f3fabf-e6b6-4fa0-8bd0-8a4e3f6414d0 AT p2g2000prn DOT googlegroups DOT com>
<200901090631 DOT n096VpHO022485 AT envy DOT delorie DOT com>
NNTP-Posting-Host: 76.115.70.155
Mime-Version: 1.0
X-Trace: posting.google.com 1232429526 5066 127.0.0.1 (20 Jan 2009 05:32:06 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Tue, 20 Jan 2009 05:32:06 +0000 (UTC)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: r10g2000prf.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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id n0K5j14N010437
Reply-To: djgpp AT delorie DOT com

On Jan 8, 10:31 pm, DJ Delorie <d DOT  DOT  DOT  AT delorie DOT com> wrote:
> > here are the directories of the main ones:
> > F:\djcurrnt\v2\manifest\djdev203.dsm
> > F:\djcurrnt\v2\manifest\djdev203.mft
> > F:\djcurrnt\v2gnu\manifest\gcc432b.dsm
> > F:\djcurrnt\v2gnu\manifest\gcc432b.mft
>
> This is definitely wrong.  You should NOT be unzipping each zip file
> into its own separate tree; you should unzip everything into a
> combined tree (i.e. unzip them all from the same directory).  You
> should have an F:\djcurrnt\bin\gcc.exe, F:\djcurrnt\bin\stubify.exe,
> etc.  All the manifests (*.mft) should end up in F:\djcurrnt\manifest\
>
> Did you try the zip picker to see what instructions it gives you?http://www.delorie.com/djgpp/zip-picker.html

I am reporting back. the zip picker and the above instructions to put
them in the same directory gives me the same results.  lots of
errors.  I don't understand what could be causing this.  microsoft
update?  maybe not, nobody else is complaining, so it must be
something on my machine, but I don't know what.  it is affecting all
my djgpp compiler installations.
I know I have the GNUWIN32 tools installed later in the PATH (it does
not contain a compiler).


#include <fstream>
int main(void) {
    return 0;
}

In file included from f:/djc/bin/../lib/gcc/djgpp/4.32/../../../../
include/cxx/4
.32/ios:48,
                 from f:/djc/bin/../lib/gcc/djgpp/4.32/../../../../
include/cxx/4
.32/istream:45,
                 from f:/djc/bin/../lib/gcc/djgpp/4.32/../../../../
include/cxx/4
.32/fstream:45,
                 from f.cpp:1:
f:/djc/bin/../lib/gcc/djgpp/4.32/../../../../include/cxx/4.32/bits/
ios_base.h: I
n member function 'std::_Ios_Fmtflags std::ios_base::setf
(std::_Ios_Fmtflags)':
f:/djc/bin/../lib/gcc/djgpp/4.32/../../../../include/cxx/4.32/bits/
ios_base.h:57
8: error: cannot bind packed field '((std::ios_base*)this)-
>std::ios_base::_M_fl
ags' to 'std::_Ios_Fmtflags&'
f:/djc/bin/../lib/gcc/djgpp/4.32/../../../../include/cxx/4.32/bits/
ios_base.h: I
n member function 'std::_Ios_Fmtflags std::ios_base::setf
(std::_Ios_Fmtflags, st
d::_Ios_Fmtflags)':
f:/djc/bin/../lib/gcc/djgpp/4.32/../../../../include/cxx/4.32/bits/
ios_base.h:59
5: error: cannot bind packed field '((std::ios_base*)this)-
>std::ios_base::_M_fl
ags' to 'std::_Ios_Fmtflags&'
f:/djc/bin/../lib/gcc/djgpp/4.32/../../../../include/cxx/4.32/bits/
ios_base.h:59
6: error: cannot bind packed field '((std::ios_base*)this)-
>std::ios_base::_M_fl
ags' to 'std::_Ios_Fmtflags&'
f:/djc/bin/../lib/gcc/djgpp/4.32/../../../../include/cxx/4.32/bits/
ios_base.h: I
n member function 'void std::ios_base::unsetf(std::_Ios_Fmtflags)':
f:/djc/bin/../lib/gcc/djgpp/4.32/../../../../include/cxx/4.32/bits/
ios_base.h:60
8: error: cannot bind packed field '((std::ios_base*)this)-
>std::ios_base::_M_fl
ags' to 'std::_Ios_Fmtflags&'
f:/djc/bin/../lib/gcc/djgpp/4.32/../../../../include/cxx/4.32/bits/
ios_base.h: I
n member function 'long int& std::ios_base::iword(int)':
f:/djc/bin/../lib/gcc/djgpp/4.32/../../../../include/cxx/4.32/bits/
ios_base.h:74
2: error: cannot bind packed field '__word-
>std::ios_base::_Words::_M_iword' to
'long int&'
f:/djc/bin/../lib/gcc/djgpp/4.32/../../../../include/cxx/4.32/bits/
ios_base.h: I
n member function 'void*& std::ios_base::pword(int)':
f:/djc/bin/../lib/gcc/djgpp/4.32/../../../../include/cxx/4.32/bits/
ios_base.h:76
3: error: cannot bind packed field '__word-
>std::ios_base::_Words::_M_pword' to
'void*&'

my current PATH:
PATH=F:\DJC\BIN;F:\DJC\ALLEGRO\BIN;C:\WINDOWS\Microsoft.NET\Framework
\v1.1.4322\
;C:\Program Files\Borland\BDS\4.0\Bin;C:\Program Files\PHP\;C:\WINDOWS
\system32;
C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Perl\bin\;C:\Program Files
\Microsoft SQL
Server\80\Tools\Binn\;C:\Program Files\Common Files\Roxio Shared
\DLLShared;c:\ts
e32;c:\ed;C:\gnuwin32\GetGnuWin32\gnuwin32\bin;C:\prj\x\usr\local
\wbin;c:\prj\x\
bin;c:\u;c:\bin;c:\php5.1.2;C:\Sun\SDK\bin;C:\c\AndroMDA
\maven-2.0.2\bin;C:\Prog
ram Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common
Files\Rox
io Shared\9.0\DLLShared\;C:\Nokia\Update_Manager\bin;C:\prj\c#
\codeplexclient;C:
\Program Files\Common Files\GTK\2.0\bin;C:\Program Files\Common Files
\Roxio Shar
ed\10.0\DLLShared\;C:\Program Files\Common Files\Roxio Shared\DLLShared
\;C:\Prog
ram Files\Common Files\Roxio Shared\10.0\DLLShared\;C:\Program Files
\Common File
s\Ulead Systems\MPEG;c:\program files\cdrtfe\tools\cdrtools;c:\cdr;c:
\cdrtools;C
:\Program Files\QuickTime\QTSystem\;C:\Documents and Settings\Jim\My
Documents\B
orland Studio Projects\Bpl;C:\Sun\SDK\bin;c:\Sun\SDK\JDK\bin;C:
\Program Files\Mi
crosoft Visual Studio\Common\Tools\WinNT;C:\Program Files\Microsoft
Visual Studi
o\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual Studio\Common
\Tools;C:\Pr
ogram Files\Microsoft Visual Studio\VC98\bin;C:\Program Files\CVSNT\;c:
\x;c:\pro
gram files\7-zip;C:/DJGPP/bin;f:\djgpp\2.03\v2\bin;f:\djgpp\2.03\v2apps
\bin;f:\d
jgpp\2.03\v2gnu\bin;f:\djgpp\2.03\v2misc\bin;f:\djgpp\2.03\v2tk\bin;


I did find an autoexec.bat that had this:
C:\>type autoexec.bat
SET WXWIN=C:\WXWIDG~1.8E

REM Following two lines were added by LBInstDJ, the DJGPP installer
SET PATH=f:\djgpp\2.03\v2\bin;f:\djgpp\2.03\v2apps\bin;f:\djgpp
\2.03\v2gnu\bin;f
:\djgpp\2.03\v2misc\bin;f:\djgpp\2.03\v2tk\bin;%PATH%
SET DJGPP=f:/djgpp/2.03/v2/djgpp.env

REM Following two lines were added by LBInstDJ, the DJGPP installer
SET PATH=C:/DJGPP/bin;%PATH%
SET DJGPP=C:/DJGPP/djgpp.env

the compiler I am using is in f:\djc

- Raw text -


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