[ rdesktop-Patches-2783137 ] Patch to fix compilation using Sun compiler in Solaris 10

"SourceForge.net" <[email protected]>
Newsgroups gmane.network.rdesktop.devel
Message-ID <[email protected]>
Patches item #2783137, was opened at 2009-04-28 19:47
Message generated for change (Comment added) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=381349&aid=2783137&group_id=24366

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Aaron Watry (awatry)
Assigned to: Nobody/Anonymous (nobody)
Summary: Patch to fix compilation using Sun compiler in Solaris 10

Initial Comment:
I'm running Solaris 10, and by default the make process fails using the Sun compiler because the C99 standard isn't enabled.  Since there's only 3 variables that cause the compilation to break, I've created a patch against rdesktop-1.60 that fixes the compile process.  It is attached to this topic.

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2010-08-21 05:07

Message:
uoBmUo  <a href="http://acaqtjqayzvc.com/">acaqtjqayzvc</a>,
[url=http://sulnpdbdxbfb.com/]sulnpdbdxbfb[/url],
[link=http://qvkupkvwmpod.com/]qvkupkvwmpod[/link],
http://ijsxktpzcjld.com/

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2009-04-28 21:09

Message:
I guess I should probably elaborate a little.  There is a slight issue with
the code in xclip.c, in that there are 3 variables that are declared
mid-function.  One is declared inside a for loop, and the other two are
just declared after the usual declarations section of their respective
functions.

In C99, this isn't an issue, since variables can be declared wherever, but
this mode is not enabled by the Sun compiler in Solaris 10 by default, and
it causes the compile process to throw an error.  By declaring these
variables at the beginning of their respective functions, the compile
process completes, and all is well with the world.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=381349&aid=2783137&group_id=24366

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.