https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69650

--- Comment #31 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
(In reply to Bernd Schmidt from comment #30)
> I'm just using CPP_W_NONE in the patch I'm testing and that seems to work.
> 
> Regarding the error message, here's what we'll get:
> 
> 69650.c:4:55: warning: file "fish" left but not entered
>  # 9 "fish" 2 /* { dg-error "left but not entered" } */
> 
> The problem is that the file we'd be leaving is 69650.c, as shown by the
> warning's location. "fish" AFAICT is the file we'd be switching to.

I may have been wrong in my earlier question on the mailing list; doesn't the
flag value of 2 mean "LC_LEAVE"?  (is the filename meant to refer to the file
being left, or the file being entered?  am new to this part of libcpp)

Reply via email to