qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Bug 1878627] [NEW] audio/mixeng build failure using Clang 10
@ 2020-05-14 14:50 Philippe Mathieu-Daudé
  2020-05-14 14:55 ` [Bug 1878627] " Philippe Mathieu-Daudé
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-05-14 14:50 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

When building with Clang 10 on Fedora 32, we get:

    CC      audio/mixeng.o
  audio/mixeng.c:274:34: error: implicit conversion from 'unsigned int' to 'float' changes value from 4294967295 to 4294967296 [-Werror,-Wimplicit-int-float-conversion]
  static const float float_scale = UINT_MAX / 2.f;
                                   ^~~~~~~~ ~
  /usr/lib64/clang/10.0.0/include/limits.h:56:37: note: expanded from macro 'UINT_MAX'
  #define UINT_MAX  (__INT_MAX__  *2U +1U)
                     ~~~~~~~~~~~~~~~~~^~~

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1878627

Title:
  audio/mixeng build failure using Clang 10

Status in QEMU:
  New

Bug description:
  When building with Clang 10 on Fedora 32, we get:

      CC      audio/mixeng.o
    audio/mixeng.c:274:34: error: implicit conversion from 'unsigned int' to 'float' changes value from 4294967295 to 4294967296 [-Werror,-Wimplicit-int-float-conversion]
    static const float float_scale = UINT_MAX / 2.f;
                                     ^~~~~~~~ ~
    /usr/lib64/clang/10.0.0/include/limits.h:56:37: note: expanded from macro 'UINT_MAX'
    #define UINT_MAX  (__INT_MAX__  *2U +1U)
                       ~~~~~~~~~~~~~~~~~^~~

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1878627/+subscriptions


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

* [Bug 1878627] Re: audio/mixeng build failure using Clang 10
  2020-05-14 14:50 [Bug 1878627] [NEW] audio/mixeng build failure using Clang 10 Philippe Mathieu-Daudé
@ 2020-05-14 14:55 ` Philippe Mathieu-Daudé
  2020-06-04  6:01 ` Philippe Mathieu-Daudé
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-05-14 14:55 UTC (permalink / raw)
  To: qemu-devel

Discussion about fixing:

https://www.mail-archive.com/qemu-devel@nongnu.org/msg699807.html

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1878627

Title:
  audio/mixeng build failure using Clang 10

Status in QEMU:
  New

Bug description:
  When building with Clang 10 on Fedora 32, we get:

      CC      audio/mixeng.o
    audio/mixeng.c:274:34: error: implicit conversion from 'unsigned int' to 'float' changes value from 4294967295 to 4294967296 [-Werror,-Wimplicit-int-float-conversion]
    static const float float_scale = UINT_MAX / 2.f;
                                     ^~~~~~~~ ~
    /usr/lib64/clang/10.0.0/include/limits.h:56:37: note: expanded from macro 'UINT_MAX'
    #define UINT_MAX  (__INT_MAX__  *2U +1U)
                       ~~~~~~~~~~~~~~~~~^~~

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1878627/+subscriptions


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

* [Bug 1878627] Re: audio/mixeng build failure using Clang 10
  2020-05-14 14:50 [Bug 1878627] [NEW] audio/mixeng build failure using Clang 10 Philippe Mathieu-Daudé
  2020-05-14 14:55 ` [Bug 1878627] " Philippe Mathieu-Daudé
@ 2020-06-04  6:01 ` Philippe Mathieu-Daudé
  2020-07-02 10:57 ` Philippe Mathieu-Daudé
  2020-08-20 15:08 ` Thomas Huth
  3 siblings, 0 replies; 5+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-06-04  6:01 UTC (permalink / raw)
  To: qemu-devel

Patch posted:
https://www.mail-archive.com/qemu-devel@nongnu.org/msg706322.html

** Changed in: qemu
       Status: New => In Progress

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1878627

Title:
  audio/mixeng build failure using Clang 10

Status in QEMU:
  In Progress

Bug description:
  When building with Clang 10 on Fedora 32, we get:

      CC      audio/mixeng.o
    audio/mixeng.c:274:34: error: implicit conversion from 'unsigned int' to 'float' changes value from 4294967295 to 4294967296 [-Werror,-Wimplicit-int-float-conversion]
    static const float float_scale = UINT_MAX / 2.f;
                                     ^~~~~~~~ ~
    /usr/lib64/clang/10.0.0/include/limits.h:56:37: note: expanded from macro 'UINT_MAX'
    #define UINT_MAX  (__INT_MAX__  *2U +1U)
                       ~~~~~~~~~~~~~~~~~^~~

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1878627/+subscriptions


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

* [Bug 1878627] Re: audio/mixeng build failure using Clang 10
  2020-05-14 14:50 [Bug 1878627] [NEW] audio/mixeng build failure using Clang 10 Philippe Mathieu-Daudé
  2020-05-14 14:55 ` [Bug 1878627] " Philippe Mathieu-Daudé
  2020-06-04  6:01 ` Philippe Mathieu-Daudé
@ 2020-07-02 10:57 ` Philippe Mathieu-Daudé
  2020-08-20 15:08 ` Thomas Huth
  3 siblings, 0 replies; 5+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-07-02 10:57 UTC (permalink / raw)
  To: qemu-devel

Merged in commit 9c61fcc89a70256c19047d251aa44f666f06089c.

** Changed in: qemu
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1878627

Title:
  audio/mixeng build failure using Clang 10

Status in QEMU:
  Fix Committed

Bug description:
  When building with Clang 10 on Fedora 32, we get:

      CC      audio/mixeng.o
    audio/mixeng.c:274:34: error: implicit conversion from 'unsigned int' to 'float' changes value from 4294967295 to 4294967296 [-Werror,-Wimplicit-int-float-conversion]
    static const float float_scale = UINT_MAX / 2.f;
                                     ^~~~~~~~ ~
    /usr/lib64/clang/10.0.0/include/limits.h:56:37: note: expanded from macro 'UINT_MAX'
    #define UINT_MAX  (__INT_MAX__  *2U +1U)
                       ~~~~~~~~~~~~~~~~~^~~

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1878627/+subscriptions


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

* [Bug 1878627] Re: audio/mixeng build failure using Clang 10
  2020-05-14 14:50 [Bug 1878627] [NEW] audio/mixeng build failure using Clang 10 Philippe Mathieu-Daudé
                   ` (2 preceding siblings ...)
  2020-07-02 10:57 ` Philippe Mathieu-Daudé
@ 2020-08-20 15:08 ` Thomas Huth
  3 siblings, 0 replies; 5+ messages in thread
From: Thomas Huth @ 2020-08-20 15:08 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1878627

Title:
  audio/mixeng build failure using Clang 10

Status in QEMU:
  Fix Released

Bug description:
  When building with Clang 10 on Fedora 32, we get:

      CC      audio/mixeng.o
    audio/mixeng.c:274:34: error: implicit conversion from 'unsigned int' to 'float' changes value from 4294967295 to 4294967296 [-Werror,-Wimplicit-int-float-conversion]
    static const float float_scale = UINT_MAX / 2.f;
                                     ^~~~~~~~ ~
    /usr/lib64/clang/10.0.0/include/limits.h:56:37: note: expanded from macro 'UINT_MAX'
    #define UINT_MAX  (__INT_MAX__  *2U +1U)
                       ~~~~~~~~~~~~~~~~~^~~

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1878627/+subscriptions


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

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

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-14 14:50 [Bug 1878627] [NEW] audio/mixeng build failure using Clang 10 Philippe Mathieu-Daudé
2020-05-14 14:55 ` [Bug 1878627] " Philippe Mathieu-Daudé
2020-06-04  6:01 ` Philippe Mathieu-Daudé
2020-07-02 10:57 ` Philippe Mathieu-Daudé
2020-08-20 15:08 ` Thomas Huth

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).