Summary: | failed compilation due to too large constant | ||
---|---|---|---|
Product: | [Applications] kolf | Reporter: | Alberto Villa <avilla> |
Component: | general | Assignee: | Stefan Majewsky <majewsky> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | kde-games-bugs |
Priority: | NOR | ||
Version: | 1.9 | ||
Target Milestone: | --- | ||
Platform: | FreeBSD Ports | ||
OS: | FreeBSD | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | add LLU suffix to the constant |
SVN commit 1206773 by majewsky: Fix compilation on GCC 4.2. Patch by Alberto Villa. BUG: 259835 M +1 -1 b2Math.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1206773 |
Created attachment 54546 [details] add LLU suffix to the constant Version: 1.9 (using KDE 4.5.85) OS: FreeBSD gcc 4.2 (the default in freebsd) refuses to build kolf due to a too large integer constant the attached patch suffixes the constant with LLU to make the compiler handle it. tested with 32 and 64 bit Reproducible: Always Steps to Reproduce: just build kolf from kde 4.6 beta 2 with gcc 4.2 Actual Results: error: integer constant is too large for "long" type