cvs.gedasymbols.org/archives/browse.cgi | search |
Message-ID: | <000a01bef1fa$67f24040$2afab3c3@ppp13> |
From: | "Lucian Brancovean" <lucbr AT crosswinds DOT net> |
To: | <djgpp AT delorie DOT com> |
Subject: | undefined reference to ofstream destructor |
Date: | Sun, 29 Aug 1999 11:39:39 +0300 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook Express 5.00.2314.1300 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2314.1300 |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id EAA20685 |
Reply-To: | djgpp AT delorie DOT com |
I apologize in advance if the answer to the question is obvious or something. I have several c++ programs that I try to compile. They use streaming for logging and stuff. At first the compiler gave me some errors about __throw and __eh__pc. I fixed that by looking in the FAQ and replacing the libgcc.a file with the correct version. Now I get this: Error: GAParame.o: In function `GAParameterList::write(char const *) const': GAParame.cpp(6) Error: undefined reference to `ofstream::~ofstream(void)' GAParame.cpp(10) Error: undefined reference to `ofstream::~ofstream(void)' Error: GAParame.cpp(.text+0x8ff): undefined reference to `ofstream::~ofstream(void)' Error: GAParame.o: In function `GAParameterList::read(char const *, _GABoolean)': GAParame.cpp(4) Error: undefined reference to `ifstream::~ifstream(void)' GAParame.cpp(8) Error: undefined reference to `ifstream::~ifstream(void)' Error: GAParame.cpp(.text+0x1183): undefined reference to `ifstream::~ifstream(void)' Error: GAStatis.o: In function `GAStatistics::writeScores(void)': GAStatis.cpp(10) Error: undefined reference to `ofstream::~ofstream(void)' GAStatis.cpp(13) Error: undefined reference to `ofstream::~ofstream(void)' Error: GAStatis.cpp(.text+0x1aab): undefined reference to `ofstream::~ofstream(void)' Error: GAStatis.o: In function `GAStatistics::write(char const *) const': GAStatis.cpp(6) Error: undefined reference to `ofstream::~ofstream(void)' GAStatis.cpp(10) Error: undefined reference to `ofstream::~ofstream(void)' Lucian Brancovean - lucbr AT crosswinds DOT net
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |