This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [PATCH] Add new cpp predef macro __SAFE_FILE__ to improve compile-time assertions.


On 03 May 2007 20:52, Tom Tromey wrote:

>>>>>> "Ian" == Ian Lance Taylor writes:
> 
> Ian> Ollie Wild has a patch to implement __COUNTER__.
> Ian> I believe it is waiting on approval of -fdirectives-only.
> Ian>     http://gcc.gnu.org/ml/gcc-patches/2007-02/msg02178.html
> Ian>     http://gcc.gnu.org/ml/gcc-patches/2007-03/msg00786.html
> Ian> Ollie, please correct me if I am wrong.
> 
> FWIW 

  Umm, Tom, you're the maintainer: FWIW is that it's your call!

> I prefer __COUNTER__ over __SAFE_FILE__, for the reason that
> there is prior art in the MS compiler.
> 
> The reason I think this is an either-or situation is that, by my
> reading of the thread, the remaining rationale for __SAFE_FILE__ is
> for generating unique symbols; but __COUNTER__ serves that just as
> well.

  Ok, would you care to reply with the reviewmail tag just to tidy up the
patch tracker and confirm that's a formal rather than informal patch
rejection?  Ta!


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]