[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 147572] Compile error on Solaris 8 -
From:       Matthias Kretz <kretz () kde ! org>
Date:       2011-01-02 22:01:31
Message-ID: 20110102220131.9C02C79A88 () immanuel ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=147572





--- Comment #2 from Matthias Kretz <kretz kde org>  2011-01-02 23:01:26 ---
commit 948b3f3d4da5648324d55fa80970aacc34c4b24a
branch 4.1
Author: Matthias Kretz <kretz@kde.org>
Date:   Thu Jul 5 21:13:14 2007 +0000

    sinf is C99 and not C++

    BUG: 147572

diff --git a/tests/fakebackend/mediaobject.cpp
b/tests/fakebackend/mediaobject.cpp
index 1c00d18..d862c35 100644
--- a/tests/fakebackend/mediaobject.cpp
+++ b/tests/fakebackend/mediaobject.cpp
@@ -275,7 +275,7 @@ void MediaObject::fillBuffer(QVector<float> *buffer)

     while (data != end)
     {
-        const float sample = sinf(m_position);
+        const float sample = sin(m_position);
         //createdump.write(QByteArray::number(sample) + "\n");
          *(data++) = sample;
         m_position += delta;

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic