Bug 243862 - build fails on Solaris - conflicting defines
Summary: build fails on Solaris - conflicting defines
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Applications
Component: Novell GroupWise Messenger Plugin (show other bugs)
Version: unspecified
Platform: Compiled Sources Solaris
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-07 17:09 UTC by tropikhajma
Modified: 2010-11-17 23:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
patch (850 bytes, patch)
2010-07-07 17:09 UTC, tropikhajma
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tropikhajma 2010-07-07 17:09:26 UTC
Created attachment 48660 [details]
patch

Version:           unspecified (using Devel) 
OS:                Solaris

building kdenetwork from svn fails with
...
"/export/home/test/Dashboards/kdenetwork/srcdir/kopete/protocols/groupwise/libgroupwise/rtf2html.h", line 102: Warning: p hides Level::p.
"rtf.ll", line 95: Warning: s hides RTF2HTML::s.
"rtf.ll", line 637: Error: A declaration does not specify a tag or an identifier.
"rtf.ll", line 637: Error: Use ";" to terminate declarations.
"rtf.ll", line 637: Error: A declaration was expected instead of "1".
"rtf.ll", line 760: Warning: s hides RTF2HTML::s.
"rtf.ll", line 801: Error: Case label defined twice.
4 Error(s) and 3 Warning(s) detected.


this is because on OpenSolaris the file /usr/include/sys/regset.h defines FS
The attached patch undefines FS on the Solaris platform, allowing the compilation to proceed

Reproducible: Always
Comment 1 tropikhajma 2010-11-17 23:17:09 UTC
SVN commit 1198229 by pavelheimlich:

fix build on Solaris
BUG:243862


 M  +5 -0      rtf.cc  
 M  +5 -0      rtf.ll  


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