linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Build errors under Fedora 32 beta distro / GCC 10.0.1
@ 2020-04-17 18:44 Gix, Brian
  2020-04-20 12:08 ` Szymon Janc
  0 siblings, 1 reply; 2+ messages in thread
From: Gix, Brian @ 2020-04-17 18:44 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: luiz.dentz, marcel

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__}, \
      |                    ^~~~~~~~~~~

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Build errors under Fedora 32 beta distro / GCC 10.0.1
  2020-04-17 18:44 Build errors under Fedora 32 beta distro / GCC 10.0.1 Gix, Brian
@ 2020-04-20 12:08 ` Szymon Janc
  0 siblings, 0 replies; 2+ messages in thread
From: Szymon Janc @ 2020-04-20 12:08 UTC (permalink / raw)
  To: linux-bluetooth, Gix, Brian; +Cc: luiz.dentz, marcel

Hi Brian,

On Friday, 17 April 2020 20:44:30 CEST Gix, Brian wrote:
> 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:


I've just sent patches for this and few other errors reported by GCC 10.

-- 
pozdrawiam
Szymon Janc



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-20 12:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-17 18:44 Build errors under Fedora 32 beta distro / GCC 10.0.1 Gix, Brian
2020-04-20 12:08 ` Szymon Janc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).