Re: Build break in dtrace modules at r253772 with gcc

2013-08-04 Thread Andriy Gapon
on 02/08/2013 23:29 Garrett Cooper said the following: > r253772 breaks dtrace compiled as a module on amd64 like so when using gcc: I am aware of the problem with dtrace/dtrace module and apologize for it. The easiest way to work around it is to add CWARNFLAGS+=-Wno-cast-qual to the respectiv

Build break in dtrace modules at r253772 with gcc

2013-08-03 Thread Garrett Cooper
r253772 breaks dtrace compiled as a module on amd64 like so when using gcc: cc1: warnings being treated as errors /usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:1184: warning: cast discards qualifiers from pointer target type /usr/src/sys/modules/dtrace/dtrace/../..