delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/06/30/12:00:06

From: "Matthew Conte" <itsbroke AT classicgaming DOT com>
Newsgroups: comp.os.msdos.djgpp
References: <gFET8.85210$GY DOT 30183237 AT twister DOT nyroc DOT rr DOT com> <3D1F21E6 DOT E85FBF68 AT yahoo DOT com>
Subject: Re: ANNOUCE: thinlib directmedia library for djgpp 0.1.0
Lines: 29
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Message-ID: <UIFT8.73552$uk2.29713705@twister.nyroc.rr.com>
Date: Sun, 30 Jun 2002 15:45:56 GMT
NNTP-Posting-Host: 66.66.237.173
X-Complaints-To: abuse AT rr DOT com
X-Trace: twister.nyroc.rr.com 1025451956 66.66.237.173 (Sun, 30 Jun 2002 11:45:56 EDT)
NNTP-Posting-Date: Sun, 30 Jun 2002 11:45:56 EDT
Organization: Road Runner
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"CBFalconer" <cbfalconer AT yahoo DOT com> wrote:

> Results here:
[...]
> tl_video.h:26:1: C++ style comments are not allowed in ISO C89
> tl_video.h:26:1: (this will be reported only once per input file)

hmm, interesting.  which version of gcc do you have?  i'm still using
2.95.3, because i got slower and bigger executables when i tried using
gcc 3.x.x.

my guess is that the new preprocessor in 3.x.x is stricter than the
one in 2.95.3.

when coding in c, i use c++ style comments to comment out single lines
of code.  it's used in so few places that changing it is not a big
deal...

please remove the '-pedantic' compiler flag from the Makefile,
rebuild, and let me know how that goes.

regards,
matthew.

--
matt conte
a day late, a nybble short


- Raw text -


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