Bug 234276

Summary: build fails - QChar::QChar(char) inaccessible in messagehelper.h
Product: [Applications] kdepim Reporter: tropikhajma <tropikhajma>
Component: messagecomposerAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Solaris   
Latest Commit: Version Fixed In:

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.