Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jan 1999 11:26:12 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        eivind@FreeBSD.ORG, jdp@polstra.com
Cc:        committers@FreeBSD.ORG
Subject:   Re: cvs commit: src/usr.bin/xlint/xlint xlint.c
Message-ID:  <199901240026.LAA24168@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>>     usr.bin/xlint/xlint  xlint.c 
>>   Log:
>>   I may have forgotten to upgrade this value, but that will never happen
>>   again.  (Fully clone the value of __FreeBSD__ from the compiler.)
>>   
>>   Revision  Changes    Path
>>   1.6       +8 -6      src/usr.bin/xlint/xlint/xlint.c
>
>I'm glad you put in this automatic solution.  But please get
>rid of your local STRINGIZE(x) and STRINGIZEINT(x) macros, and
>use the FreeBSD-standard __XSTRING(x) instead.  It is defined

Also, use the FreeBSD-standard __CONCAT() macro if you don't want
to break xlint's K&R support some more :-).

Lint still doesn't define __FreeBSD_cc_version or several other magic
defines that may be important (e.g., __GNUC__, __ELF__).  It kills
the standard defines by passing the -undef option to cpp and then adds
back a couple.

Bruce

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901240026.LAA24168>