|
From: Philippe W. <phi...@sk...> - 2015-06-13 19:24:31
|
On Fri, 2015-06-12 at 07:23 +0000, Mayank Kumar (mayankum) wrote: > Hi Users > I am running valgrind on windriver and trying to use > RUNNING_ON_VALGRIND macro to figure out if my process is running under > valgrind. > While compiling I get the error :- > > error: missing binary operator before token "__extension__" > > Is there a way to fix it . I am using gcc compiler 4.3.2 In valgrind.h, there is somewhere the following 3 lines: #if !defined(__GNUC__) # define __extension__ /* */ #endif You might try to copy the # define line just before including valgrind.h Philippe |