Bug 234276 - build fails - QChar::QChar(char) inaccessible in messagehelper.h
Summary: build fails - QChar::QChar(char) inaccessible in messagehelper.h
Status: RESOLVED FIXED
Alias: None
Product: kdepim
Classification: Applications
Component: messagecomposer (show other bugs)
Version: unspecified
Platform: Compiled Sources Solaris
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-13 19:05 UTC by tropikhajma
Modified: 2010-04-14 18:11 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tropikhajma 2010-04-13 19:05:08 UTC
Version:            (using Devel)
Compiler:          Sun Studio 12 U1 
OS:                Solaris
Installed from:    Compiled sources

building kdepim on OpenSolaris with Sun Studio fails with
...
"/.../srcdir/messagecomposer/messagehelper.h", line 119: Error: QChar::QChar(char) is not accessible from MessageHelper::skipKeyword(const QString&, QChar, bool*).

(see http://my.cdash.org/index.php?project=kdepim&date=2010-04-13)

This helped me to proceed:
-  QString MESSAGECOMPOSER_EXPORT skipKeyword(const QString& str, QChar sepChar=':',
+  QString MESSAGECOMPOSER_EXPORT skipKeyword(const QString& str, QChar sepChar=QLatin1Char(':'),
Comment 1 Thomas McGuire 2010-04-14 18:10:48 UTC
SVN commit 1114812 by tmcguire:

Fix build with Sun Studio.

BUG: 234276

 M  +4 -3      messagehelper.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1114812
Comment 2 Thomas McGuire 2010-04-14 18:11:38 UTC
Hi,

thanks for your bug report, fixed now.
I suggest that you get an SVN account so you can commit your fixes yourself, that is much faster than writing a bug report and letting someone commit it :)
See http://techbase.kde.org/Contribute/Get_a_SVN_Account, you should probably mention this comment in the request.