Hello,
Consider this short test snippet:
-8---
#define STRINGIFY(x) #x
#define TEST(x) \
_Pragma(STRINGIFY(GCC diagnostic ignored "-Wunused-local-typedefs")) \
typedef int myint;
void bar ()
{
TEST(myint)
}
---
Hi,
On 05/29/2012 12:19 PM, Dodji Seketeli wrote:
The _Pragma is effectively ignored,
hi Dodji, and sorry for taking the occasion to mention other issues with
pragmas which definitely can be handled separately, but I can't resist
;) In fact we have a number of open PRs:
http://gcc.gnu.or
Hello
I am friendly pinging this patch that felt below my radar.
Dodji Seketeli a écrit:
> Hello,
>
> Consider this short test snippet:
>
> -8---
> #define STRINGIFY(x) #x
> #define TEST(x) \
> _Pragma(STRINGIFY(GCC diagnostic ignored "-Wunu
PING^2.
Dodji Seketeli writes:
> Hello,
>
> Consider this short test snippet:
>
> -8---
> #define STRINGIFY(x) #x
> #define TEST(x) \
> _Pragma(STRINGIFY(GCC diagnostic ignored "-Wunused-local-typedefs")) \
> typedef int myint;
>
>
On Mon, Aug 27, 2012 at 09:52:04AM +0200, Dodji Seketeli wrote:
> PING^2.
This is ok for trunk. Thanks.
> > Bootstrapped and tested on x86_64-unknown-linux-gnu against trunk.
> >
> > libcpp/
> >
> > PR preprocessor/53469
> > * directives.c (do_pragma): Use the virtual location for the
>