[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Protection of snippet in config.h
From: |
Paul Eggert |
Subject: |
Re: Protection of snippet in config.h |
Date: |
Mon, 02 Jan 2012 14:49:06 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111124 Thunderbird/8.0 |
On 01/02/12 13:05, bastien ROUCARIES wrote:
> _Noreturn is safe but I am more affraind by the fact that cpp run in
> traditionnal mode and could choke if snippet include C89/C99
> preprocessor directive.
I suppose that could be an issue in theory, but in practice it isn't:
all of the stuff you mentioned should run fine even with
a circa 1977 K&R C preprocessor. (Not that I suggest
using a C preprocessor for anything other than C and C++ --
that's usually not a good idea, for other reasons.)