delorie.com/archives/browse.cgi | search |
From: | Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: ANNOUCE: thinlib directmedia library for djgpp 0.1.0 |
Date: | Sun, 30 Jun 2002 20:40:55 +0100 |
Lines: | 39 |
Message-ID: | <3D1F5EC7.1486F10D@phekda.freeserve.co.uk> |
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> <3D1F54ED DOT D798D177 AT yahoo DOT com> |
NNTP-Posting-Host: | modem-59.fluorine.dialup.pol.co.uk |
Mime-Version: | 1.0 |
X-Trace: | news7.svr.pol.co.uk 1025466718 19718 62.136.8.59 (30 Jun 2002 19:51:58 GMT) |
NNTP-Posting-Date: | 30 Jun 2002 19:51:58 GMT |
X-Complaints-To: | abuse AT theplanet DOT net |
X-Mailer: | Mozilla 4.77 [en] (X11; U; Linux 2.2.19 i586) |
X-Accept-Language: | de,fr |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Hello. CBFalconer wrote: [snip] > Results without pedantic: [snip] > > tl_int.c:61:19: pasting "_int_handler_0" and "(" does not give a valid preproces > > sing token [snip] You probably have something like: #define macro(x) _int_handler_##x##(...) The second concatenation operator is superfluous. Change it to something like this: #define macro(x) _int_handler_##x(...) > > 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 The pre-processor behaviour has changed slightly in gcc 3.x. What flags are used to generate the dependencies? Regards, -- Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |