On 3/12/2013 4:14 PM, Adrian Chadd wrote:
On 12 March 2013 14:12, Joshua Isom <jri...@gmail.com> wrote:
I had to remove the /sys/ from the PATH and CFLAGS to point to the right
directory, it's still failing with warnings. I tried gcc and clang. I'll
try to see how much I can patch myself without knowing the code at all.
Where's it failing with warnings with gcc?
I do gcc builds all the time and I get no warnings. But my primary
station/laptop testing atm is on 9-STABLE (my access points run -HEAD
This I think is because I'm building on amd64, so it should be 64 bit
type for portability.
In function 'ar9340_soc_gpio_cfg_output_mux':
warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
This is because of a debug def not being set I think, and the
preprocessor optimizes away the actual use.
In function 'ar9300_set_channel':
warning: unused variable 'ichan' [-Wunused-variable]
The first warning looks like it's because of an "#if 0" that blocks it
from being set. The second looks genuine, it's only guaranteed to be
set inside of one conditional.
In function 'ar9300_reset':
warning: 'modes_txgaintable_index' is used uninitialized in this function
note: 'modes_txgaintable_index' was declared here
warning: 'cal_done' may be used uninitialized in this function
note: 'cal_done' was declared here
firstname.lastname@example.org mailing list
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"