Build errors under Fedora 32 beta distro / GCC 10.0.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Compiling BlueZ using GCC 10.0.1, which is the standard version for Fedora 32 distro:

$ gcc --version
gcc (GCC) 10.0.1 20200328 (Red Hat 10.0.1-0.11)
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

This is just a snippet of the top of the error log:

In file included from android/tester-bluetooth.c:24:
android/tester-bluetooth.c:620:8: error: implicit conversion from ‘enum <anonymous>’ to ‘enum <anonymous>’ [-
Werror=enum-conversion]
  620 |        BT_DISCOVERY_STARTED),
      |        ^~~~~~~~~~~~~~~~~~~~
android/tester-main.h:63:27: note: in definition of macro ‘TEST_CASE_BREDRLE’
   63 |   sizeof((struct step[]) {__VA_ARGS__}) / sizeof(struct step), \
      |                           ^~~~~~~~~~~
android/tester-bluetooth.c:619:3: note: in expansion of macro ‘CALLBACK_STATE’
  619 |   CALLBACK_STATE(CB_BT_DISCOVERY_STATE_CHANGED,
      |   ^~~~~~~~~~~~~~
android/tester-bluetooth.c:620:8: error: implicit conversion from ‘enum <anonymous>’ to ‘enum <anonymous>’ [-
Werror=enum-conversion]
  620 |        BT_DISCOVERY_STARTED),
      |        ^~~~~~~~~~~~~~~~~~~~
android/tester-main.h:64:20: note: in definition of macro ‘TEST_CASE_BREDRLE’
   64 |   (struct step[]) {__VA_ARGS__}, \
      |                    ^~~~~~~~~~~




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux