cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/12/18:04:55

From: Nate Eldredge <neldredge AT hmc DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: djgpp is ansi c++ compliant?
Date: 12 Nov 1999 13:11:01 -0800
Organization: InterWorld Communications
Lines: 17
Message-ID: <83vh77fmai.fsf@mercury.st.hmc.edu>
References: <Pine DOT SOL DOT 3 DOT 96 DOT 991112125844 DOT 13446A-100000 AT socrates-a DOT ucl DOT ac DOT uk>
NNTP-Posting-Host: mercury.st.hmc.edu
X-Trace: nntp1.interworld.net 942441119 91072 134.173.45.219 (12 Nov 1999 21:11:59 GMT)
X-Complaints-To: usenet AT nntp1 DOT interworld DOT net
NNTP-Posting-Date: 12 Nov 1999 21:11:59 GMT
X-Newsreader: Gnus v5.7/Emacs 20.4
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Ali Ahmad Siddiqui <zcees14 AT socrates-a DOT ucl DOT ac DOT uk> writes:

> I am having problems trying to compile code in djgpp that I have written 
> on my MSVC compiler. It compiles fine on MSVC, but produces errors in 
> djgpp even though I think I am writing ansi code. For instance if I have 
> a prototype function in MSVC: "int funTimes(int, int, int)" MSVC takes it
> fine, but djgpp thinks this is a bad thing to do and produces errors.
> All help in this matter would be very much appreciated

That's not a very helpful snippet; it's not valid C even as it stands
(no semicolon).  If you could post a small, but complete, example that
compiles with MSVC but not DJGPP, then we could help you.

-- 

Nate Eldredge
neldredge AT hmc DOT edu

- Raw text -


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