Opened 9 years ago

Closed 7 years ago

#9899 closed Patches (invalid)

fix GCC 4.7 -Wuninitialized in random/binomial_distribution.hpp

Reported by: mstahl@… Owned by: No-Maintainer
Milestone: To Be Determined Component: random
Version: Boost Release Branch Severity: Problem
Keywords: Cc: tml@…

Description

upstreaming patch from LibreOffice project, to fix compiler warnings

Attachments (1)

0002-random-fix-GCC-4.7-Wuninitialized.patch (1.2 KB ) - added by mstahl@… 9 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 by Steven Watanabe, 9 years ago

I believe that the compiler is wrong to issue a warning here. I will *not* accept patches like this which obfuscate the code with nonsense just to suppress a warning. I would consider explicit suppression using #pragmas.

comment:2 by tml@…, 8 years ago

I think this can be closed; it turns out that nowadays with a newer Android NDK (including a newer gcc) the patch is not needed in LibreOffice.

comment:3 by Steven Watanabe, 7 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.