Solved

libg++ and SUN CC compiler?

Posted on 1997-04-03
1
279 Views
Last Modified: 2013-12-26
I am wondering: Can I use libg++ (especially the String, Interger, ...
classes) with the C++ compiler of SUN? Or does anybody know, if there
is something similar for CC of sun?

Simply specifying the include directory results in
error messages:

CC   -I/opt/FSFlibg++/lib/g++-include/ test.C
"/opt/FSFlibg++/lib/g++-include//iostream.h", line 95: Error: bool is not defined.
"/opt/FSFlibg++/lib/g++-include//iostream.h", line 207: Error: bool is not defined.
"test.C", line 13: Error: The function exit must have a prototype.
0
Comment
Question by:rdorsch
1 Comment
 
LVL 2

Accepted Solution

by:
lockhart earned 100 total points
ID: 1292496
I had this same problem with String and SC4.0. I suspect that you could do something with the -I switch, although I didn't have any success there. I gave up for lack of time.  I finally just tweeked the String, Regex, and rx source files a bit and viola! If you want, I can send them to you. I didn't do anything with Integer.

Mike

PS Sun's Tools.h++ package has these types of classes in them. So if you have some $$ laying around you could buy that and not have to fiddle with GNUs stuff. Tools.h++ comes with the visual workshop so if you have that you already have them.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now