delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/06/30/15:15:20

Message-ID: <3D1F54ED.D798D177@yahoo.com>
From: CBFalconer <cbfalconer AT yahoo DOT com>
Organization: Ched Research
X-Mailer: Mozilla 4.75 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: ANNOUCE: thinlib directmedia library for djgpp 0.1.0
References: <gFET8.85210$GY DOT 30183237 AT twister DOT nyroc DOT rr DOT com> <3D1F21E6 DOT E85FBF68 AT yahoo DOT com> <UIFT8.73552$uk2 DOT 29713705 AT twister DOT nyroc DOT rr DOT com>
Lines: 89
Date: Sun, 30 Jun 2002 19:00:48 GMT
NNTP-Posting-Host: 12.90.170.7
X-Complaints-To: abuse AT worldnet DOT att DOT net
X-Trace: bgtnsc05-news.ops.worldnet.att.net 1025463648 12.90.170.7 (Sun, 30 Jun 2002 19:00:48 GMT)
NNTP-Posting-Date: Sun, 30 Jun 2002 19:00:48 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Matthew Conte wrote:
> 
> "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.

Did you notice the _depend part?  Using 3.1.

Results without pedantic:

> [2] c:\dnld\scratch\thinlib-0.1.0>make -d all
> GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
> Built for i386-pc-msdosdjgpp
> Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
>         Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.
> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
> PARTICULAR PURPOSE.
> 
> Report bugs to <bug-make AT gnu DOT org>.
> 
> Reading makefiles...
> Reading makefile `Makefile'...
> Reading makefile `_depend' (search path) (no ~ expansion)...
> Makefile:104: _depend: No such file or directory (ENOENT)
> Updating makefiles....
>  Considering target file `_depend'.
>   File `_depend' does not exist.
>   Finished prerequisites of target file `_depend'.
>  Must remake target `_depend'.
> Putting child 0xfcd5b678 (_depend) PID 123 on the chain.
> Live child 0xfcd5b678 (_depend) PID 123
> Reaping winning child 0xfcd5b678 PID 123
> tl_int.c:61:19: pasting "_int_handler_0" and "(" does not give a valid preproces
> sing token
> tl_int.c:62:19: pasting "_int_handler_1" and "(" does not give a valid preproces
> sing token
> tl_int.c:63:19: pasting "_int_handler_2" and "(" does not give a valid preproces
> sing token
> tl_int.c:64:19: pasting "_int_handler_3" and "(" does not give a valid preproces
> sing token
> tl_int.c:65:19: pasting "_int_handler_4" and "(" does not give a valid preproces
> sing token
> tl_int.c:66:19: pasting "_int_handler_5" and "(" does not give a valid preproces
> sing token
> tl_int.c:67:19: pasting "_int_handler_6" and "(" does not give a valid preproces
> sing token
> tl_int.c:68:19: pasting "_int_handler_7" and "(" does not give a valid preproces
> sing token
> No command name seen.
> Live child 0xfcd5b678 (_depend) PID 124
> Reaping losing child 0xfcd5b678 PID 124
> make.exe: *** [_depend] Error -1
> Removing child 0xfcd5b678 PID 124  from chain.

and it created _depend file as follows:

> [1] c:\dnld\scratch\thinlib-0.1.0>type _depend
> "# dependency file"
> tl_main.o: tl_main.c c:/djgpp/lib/gcc-lib/djgpp/3.1/djgpp.ver tl_types.h \
>   thinlib.h tl_djgpp.h tl_int.h tl_timer.h tl_event.h tl_key.h tl_mouse.h \
>   tl_joy.h tl_dpp.h tl_drv.h tl_audio.h tl_video.h
> tl_print.o: tl_print.c c:/djgpp/lib/gcc-lib/djgpp/3.1/djgpp.ver \
>   tl_types.h tl_print.h
> tl_timer.o: tl_timer.c c:/djgpp/lib/gcc-lib/djgpp/3.1/djgpp.ver \
>   tl_types.h tl_djgpp.h tl_timer.h tl_int.h

-- 
Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT worldnet DOT att DOT net)
   Available for consulting/temporary embedded and systems.
   <http://cbfalconer.home.att.net>  USE worldnet address!

- Raw text -


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