[Debian-med-packaging] Bug#746910: Proposing fix for gcc 4.9 compilation

Martin Steghöfer martin at steghoefer.eu
Sat Aug 30 18:37:25 UTC 2014


The build error mentioned in the compilation log is trivial to fix, GCC 
even tells you what to do: Get rid of the default parameter in the 
function definition, as done in the attached patch for the mentioned 
occurrence and an additional one (default-arguments-in-definition.patch).

However, the compilation with GCC 4.9 fails at a second point, too. This 
is due to bug #61659 in GCC 
(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61659). I've attached a 
workaround for this problem (gcc-4-9-workaround.patch) - in case you 
don't want to wait for the GCC guys to fix the bug (it sounds 
complicated, could take a while, they've been fumbling for 2 months now).

With those 2 patches applied, sofa-framework-1.0~beta4 compiles fine 
with gcc 4.9.

Cheers,
Martin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: default-arguments-in-definition.patch
Type: text/x-diff
Size: 1276 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20140830/92d02e8d/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-4-9-workaround.patch
Type: text/x-diff
Size: 494 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20140830/92d02e8d/attachment-0001.patch>


More information about the Debian-med-packaging mailing list