[lttng-dev] Printing bit fields with LTTng

2015-06-10 Thread Chidhu R
Hello, I am getting compilation issues while trying to print bit field values with LTTng. Error: hello.c: In function ‘main’: hello.c:36:1: error: ‘typeof’ applied to a bit-field hello.c:36:1: error: ‘typeof’ applied to a bit-field hello.c:36:1: error: ‘typeof’ applied to a bit-field hello.c:36:

Re: [lttng-dev] Printing bit fields with LTTng

2015-06-10 Thread Simon Marchi
On 10 June 2015 at 17:16, Chidhu R wrote: > Hello, > > I am getting compilation issues while trying to print bit field values with > LTTng. > > Error: > > hello.c: In function ‘main’: > hello.c:36:1: error: ‘typeof’ applied to a bit-field > hello.c:36:1: error: ‘typeof’ applied to a bit-field > he

Re: [lttng-dev] Printing bit fields with LTTng

2015-06-10 Thread Simon Marchi
On 10 June 2015 at 17:28, Simon Marchi wrote: > On 10 June 2015 at 17:16, Chidhu R wrote: >> Hello, >> >> I am getting compilation issues while trying to print bit field values with >> LTTng. >> >> Error: >> >> hello.c: In function ‘main’: >> hello.c:36:1: error: ‘typeof’ applied to a bit-field >

Re: [lttng-dev] Printing bit fields with LTTng

2015-06-11 Thread Chidhu R
Great. Thanks for sharing your inputs. I too learned something new. On Wed, Jun 10, 2015 at 3:20 PM, Simon Marchi wrote: > On 10 June 2015 at 17:28, Simon Marchi wrote: > > On 10 June 2015 at 17:16, Chidhu R wrote: > >> Hello, > >> > >> I am getting compilation issues while trying to print bit