Summary: | math.h missing in kdeedu/kalgebra/analitzagui/graph2d.cpp | ||
---|---|---|---|
Product: | [Applications] kalgebra | Reporter: | Jeremy Lavergne <snc> |
Component: | general | Assignee: | Aleix Pol <aleixpol> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | macOS | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Jeremy Lavergne
2010-12-28 03:43:14 UTC
Hmm, adding math.h to the .cpp and .h files doesn't seem to have impacted the compilation. It might be more than simply adding the include, or perhaps I've not added it correctly. cmath is already included, that's not the problem. Can you check if std:: is missing? Yes, adding std:: allowed compilation. I used the lazy `using namespace std` method. SVN commit 1211066 by apol: Use namespace std:: to compile graph2d. apparently makes it compile in MacOS X. /me wonders why it works on his system :/... BUG: 261423 M +2 -0 graph2d.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1211066 |