delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
From: | Datnhan <datnhanlz AT yahoo DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: How can I compile C++ code (write for Linux) with DJGPP? |
Date: | Tue, 11 Nov 2008 20:54:17 -0800 (PST) |
Organization: | http://groups.google.com |
Lines: | 40 |
Message-ID: | <a2e6a0ee-5401-4036-95ba-f638c2501113@u29g2000pro.googlegroups.com> |
References: | <e55088bb-82f0-4be7-8dc4-22637d1e6c34 AT d42g2000prb DOT googlegroups DOT com> |
<200811111729 DOT mABHT4ZF019503 AT envy DOT delorie DOT com> | |
NNTP-Posting-Host: | 125.214.52.76 |
Mime-Version: | 1.0 |
X-Trace: | posting.google.com 1226465657 27806 127.0.0.1 (12 Nov 2008 04:54:17 GMT) |
X-Complaints-To: | groups-abuse AT google DOT com |
NNTP-Posting-Date: | Wed, 12 Nov 2008 04:54:17 +0000 (UTC) |
Complaints-To: | groups-abuse AT google DOT com |
Injection-Info: | u29g2000pro.googlegroups.com; posting-host=125.214.52.76; |
posting-account=Ji3I0goAAABpc8urqLW3kOBLwkYJ3IWf | |
User-Agent: | G2/1.0 |
X-HTTP-UserAgent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b1) |
Gecko/20081007 Firefox/3.1b1,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 |
Hi, I repeat ---------------------------- Warnings can be ignored. ====> WARNINGS ARE NOT THE PROBLEM ERRORs can be found after the line filled with asterisks in the text below. The errors occur in gen.h and gen.c. ---------------------------------------- end repeat At the bottom of this message I list ERRORS only. I found some recent papers which used this code, but they compile this code on Linux/Unix. So I think the problems is in DJGPP... but I am not sure... I am very new to DJGPP, and I never run a Linux system. If you can help me solve the problem with DJGPP, i will be grateful. Thank you very much. Source code is from http://www.cs.loyola.edu/~cgiannel/assoc_gen.html compiled by DJGPP 2.03, gcc 4.2.3 ==========some ERRORS============ gen.h:185: error: 'StringSet' has not been declared gen.C: In member function 'void Taxonomy::write_asc(std::ofstream&)': gen.C:183: error: 'setw' was not declared in this scope gen.C: In member function 'void ItemSet::display(std::ofstream&)': gen.C:334: error: 'setprecision' was not declared in this scope gen.C: In member function 'void String::display(std::ofstream&, LINT)': gen.C:380: error: 'setw' was not declared in this scope gen.C: At global scope: gen.C:387: error: prototype for 'void String::display(std::ofstream&, StringSet&, LINT)' does not match any in class 'String' gen.h:185: error: candidates are: void String::display(std::ofstream&, int&, LINT) gen.C:378: error: void String::display(std::ofstream&, LINT) gen.C: In member function 'void String::display (std::ofstream&,StringSet&, LINT)': gen.C:392: error: 'setw' was not declared in this scope gen.C: In member function 'void StringSet::display(std::ofstream&)': gen.C:580: error: 'setprecision' was not declared in this scope
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |