Bug 200481 - does not build - bool vs QBool
Summary: does not build - bool vs QBool
Status: RESOLVED FIXED
Alias: None
Product: konversation
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Solaris
: NOR normal
Target Milestone: ---
Assignee: Konversation Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-16 22:06 UTC by tropikhajma
Modified: 2009-07-17 00:44 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
patch1 (507 bytes, patch)
2009-07-16 22:07 UTC, tropikhajma
Details
patch2 (586 bytes, patch)
2009-07-16 22:08 UTC, tropikhajma
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tropikhajma 2009-07-16 22:06:56 UTC
Version:           4.2.96 (using Devel)
Compiler:          Sun Studio 12 U1 
OS:                Solaris
Installed from:    Compiled sources

building konversation 1.2alpha4 with Sun Studio fails with 
/export/home/test/packages/BUILD/konversation-1.2-alpha4/src/irc/inputfilter.cpp", line 2110: Error: Different types for "?:" (bool and QBool).
and
"/export/home/test/packages/BUILD/konversation-1.2-alpha4/src/irc/outputfilter.cpp", line 1469: Error: Different types for "?:" (bool and QBool).

it builds with the attached patches
Comment 1 tropikhajma 2009-07-16 22:07:59 UTC
Created attachment 35394 [details]
patch1
Comment 2 tropikhajma 2009-07-16 22:08:27 UTC
Created attachment 35395 [details]
patch2
Comment 3 Travis McHenry 2009-07-17 00:44:14 UTC
SVN commit 998110 by tjmchenry:

Fix build for OpenSolaris thanks to tropikhajma for the patches
BUG:200481

 M  +1 -1      inputfilter.cpp  
 M  +1 -1      outputfilter.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=998110