[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Build failure of 3.6 with Linux wireless-tools 29
From: |
Ludovic Courtès |
Subject: |
Build failure of 3.6 with Linux wireless-tools 29 |
Date: |
Sun, 31 Jan 2010 20:53:32 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Hello,
Building IceCat 3.6 on GNU/Linux with wireless-tools 29 fails:
--8<---------------cut here---------------start------------->8---
c++ -o nsWifiScannerUnix.o -c -I../../../dist/system_wrappers -include
../../../config/gcc_hidden.h -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM
-DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_COM_OBSOLETE -D_IMPL_NS_GFX
-D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES
-DOSTYPE=\"Linux2.6.29\" -DOSARCH=Linux -DIMPL_NS_NET -I. -I.
-I../../../dist/include -I../../../dist/include/nsprpub
-I/tmp/nix-build-14hii7dsa1jksfnamyx06lsizhx9q3da-icecat-3.6.drv-0/icecat-3.6/dist/include/nspr
-I/tmp/nix-build-14hii7dsa1jksfnamyx06lsizhx9q3da-icecat-3.6.drv-0/icecat-3.6/dist/include/nss
-fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith
-Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor
-Wcast-align -Wno-invalid-offsetof -Wno-long-long -pedantic
-fno-strict-aliasing -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -Os
-freorder-blocks -fno-reorder-functions -DMOZILLA_CLIENT -include
../../../mozilla-config.h -Wp,-MD,.deps/nsWifiScannerUnix.pp
nsWifiScannerUnix.cpp
In file included from
/nix/store/i4606ircapf5vai4cl2nafj4wjb1vxf4-wireless-tools-29/include/iwlib.h:61,
from nsWifiScannerUnix.cpp:40:
/nix/store/i4606ircapf5vai4cl2nafj4wjb1vxf4-wireless-tools-29/include/wireless.h:836:
error: ISO C++ forbids zero-size array 'key'
--8<---------------cut here---------------end--------------->8---
Changing ‘wireless.h’ to use a C99 flexible array member instead of a
GNU C zero-sized array member doesn’t solve the problem.
Ideas? Has someone already addressed this?
Thanks,
Ludo’.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Build failure of 3.6 with Linux wireless-tools 29,
Ludovic Courtès <=