Article View: news.software.readers
Article #36835Re: Tin - 1.3 BETA compilation woes (long)
From: T.E.Dickey
Date: Fri, 31 Oct 1997 00:00
Date: Fri, 31 Oct 1997 00:00
35 lines
1964 bytes
1964 bytes
Frank J. T. Wojcik <fwojcik@monmouth.com> wrote: : I am desperately trying to get tin 971018 to compile on my Linux : 1.2.13 box using gcc 2.6.3 (no, neither of these can be upgraded. If that (gcc 2.6.3) is probably the problem. I've tested mostly with gcc 2.7.2 (and a number of other compilers). I've heard nothing good about 2.6.3 (so I skipped that release - I've used 2.4.5, 2.5.8, 2.7.0 etc). well, this is the choice: : # ifdef CPP_DOES_CONCAT : # define OINX(T, M) T ## M : # define OVAL(T, M) T ## M, : # define OEND(T, M) T ## M : # define OTYP enum : # else : # define OINX(T, M) \ : (((int)&(((T*)0)->M))/ \ : ((int)&(((T*)0)->Q1) - (int)&(((T*)0)->s_MAX))) : # define OVAL(T, M) char M; : # define OEND(T, M) char M; : # define OTYP struct : # endif : #endif your example indicates that gcc 2.6.3 token concatenation isn't working properly, or that my configure script misdiagnoses it (that's the root problem). try changing the #define that turns on CPP_DOES_CONCAT in include/autoconf.h, to see if it's capable of the alternative. -- Thomas E. Dickey dickey@clark.net http://www.clark.net/pub/dickey
Technical Details
Message-ID:
<63co4c$7om@clarknet.clark.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<63bqhn$m1d$1@news.monmouth.com>Show Full Headers
Complete Article Headers
Message-ID: <63co4c$7om@clarknet.clark.net> Subject: Re: Tin - 1.3 BETA compilation woes (long) Date: Fri, 31 Oct 1997 00:00:00 +0000 From: "T.E.Dickey" <dickey@clark.net> References: <63bqhn$m1d$1@news.monmouth.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 286183274 Sender: T.E.Dickey <dickey@clark.net> Organization: Clark Internet Services, Inc., Ellicott City, MD USA Newsgroups: news.software.readers