diff options
author | Chris Dickens <christopher.a.dickens@gmail.com> | 2020-03-30 12:38:47 -0700 |
---|---|---|
committer | Chris Dickens <christopher.a.dickens@gmail.com> | 2020-03-30 12:38:47 -0700 |
commit | 95bbfb6023877ca25720f04203ef2aa2f691e995 (patch) | |
tree | 66fab38659c1b0a9cbc3d4ae85b6f5cf3ce79c44 /.travis.yml | |
parent | 9a1bc8cafb904c20a869c74ad6d657686a1c4bb1 (diff) | |
download | libusb-95bbfb6023877ca25720f04203ef2aa2f691e995.tar.gz |
build: Enable additional build errors and warnings
Help catch more errors by enabling additional build errors and warnings.
Address some of the warnings seen with these new flags, including moving
the libusb_transfer structure back out of the usbi_transfer structure to
address 'warning: invalid use of structure with flexible array member'.
Apparently a structure ending with a flexible array member is not okay
with the compiler as the last member within another structure.
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index eb477a1..0111925 100644 --- a/.travis.yml +++ b/.travis.yml @@ -48,6 +48,6 @@ addons: - ubuntu-toolchain-r-test script: - - ./autogen.sh && make clean && make - - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./travis-autogen.sh --disable-udev && make clean && make ; fi + - ./travis-autogen.sh && make -j4 + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then make clean && ./travis-autogen.sh --disable-udev && make -j4 ; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then cd Xcode && xcodebuild -project libusb.xcodeproj ; fi |