 |
 |
| Re: gcc Exception problem |
 |
 |
By Yeti - Posted on April 9, 2003 - 05:31:56 (#6792)
Current version when comment was posted: 2.95.3 |
 |
 |
mmu_man:
What do you mean by "revert to the original one"? I thought I was using the original one, since I have used the gcc straight from the BeOS Prof. Edition....
The geek gadgets version does not seem to fix this problem. I will try this one though.
Thank you all, for your help!
|
|
| This version of gcc |
 |
 |
By Caz - Posted on April 8, 2003 - 10:22:06 (#6781)
Current version when comment was posted: 2.95.3 |
 |
 |
This version being 2.95.3 builds your code fine, the old version included with BeOS does not though, a workaround for the old version is to do this,
class Hac
{
public:
void Count(void) throw(int, char) {
cout << "You what!!" << endl;
}
};
|
|
| Re: gcc Exception problem |
 |
 |
By mmu_man - Posted on April 8, 2003 - 10:08:01 (#6779)
Current version when comment was posted: 2.95.3 |
 |
 |
revert to the original one.
it fixes most problems from this one.
Or try the geekgadgets version.
|
|
| gcc Exception problem |
 |
 |
By Yeti - Posted on April 8, 2003 - 06:05:12 (#6773)
Current version when comment was posted: 2.95.3 |
 |
 |
Anybody who knows a fix to the problem that declaring something like:
- in .h
class Hac
{
public:
[...]
void Count(void) throw(int, char);
[...]
}
- in .cpp
void Hac::Count(void) throw(int, char)
{
[...]
}
Always gives this error:
[line in .cpp]: declaration of 'Hac::Count()' throws different exceptions
[line in .h]: previous declaration here
Is there a gcc version which fixes this or a workaround for this.
Thanks,
Michael
|
|
| Objective C |
 |
 |
By nymia - Posted on November 5, 2002 - 15:45:19 (#3974)
Current version when comment was posted: 2.95.3 |
 |
 |
Just wondering how much work it will take to add Objective C into the port.
Any ideas?
|
|
| Newbie questions.... |
 |
 |
By Lanjoe9 - Posted on July 6, 2002 - 00:40:40 (#2127)
Current version when comment was posted: 2.95.3 |
 |
 |
When I try to compile some C source code, the compiler throws out lines like these:
/boot/develop/tools/gnupro/lib/gcc-lib/i586-pc-beos/2.95.3/include/stdio.h:4: be_setup.h: No such file or directory
What am I doing wrong or where can I get the missing libraries? Thanx in advance..
|
|
| buggy - use the geekgadgets gnupro instead, unless you need mmx support |
 |
 |
By shatty - Posted on April 15, 2002 - 12:08:58 (#962)
Current version when comment was posted: 2.95.3 |
 |
 |
This version can not compile the following simple program into a runnable executable:
#include <iostream>
int main () {
double i = 3.4;
cout << i << endl;
return 0;
}
I generally avoid this version although it does support mmx, which is useful for compiling ffmpeg, and possibly other programs.
There is a version of the gnupro tools built for beos at http://www.geekgadgets.org/ It is available at ftp://ftp.geekgadgets.org/pub/geekgadgets/be/i586/snapshots/current/bin/gnupro-000224-bin.tgz It has a version of "2.9-beos-000224", which is newer than the development tools included in BeOS 5.0 Professional Edition. (that version is "2.9-beos-991026")
I have found that new template features are supported by this latest geekgadgets version, but mmx is not supported.
|
|
| gcc 3.x.x = no |
 |
 |
By mmu_man - Posted on March 4, 2002 - 11:18:06 (#529)
Current version when comment was posted: 2.95.3 |
 |
 |
No, we couldn't use gcc 3.x on BeOS. At least not for C++ code (user applications), only for kernel drivers.
since GCC 3 breaks binary compatibility with the 2.9x versions.
|
|
| If gcc 3.x.x version be ported can we use it on current BeOS? |
 |
 |
By keenblade - Posted on March 3, 2002 - 18:06:50 (#526)
Current version when comment was posted: 2.95.3 |
 |
 |
I hope Takashi TOYOSHIMA did not lose his interest for BeOS and will port the gcc 3.0.4 or upcoming releases.
At the OpenBeOS teams FAQ page they say "There is a newer version, gcc 3.0, that has been released but it cannot be used with the current BeOS libraries (gcc's method of writing out the virtual tables for C++ classes was altered, among other things). In future OBOS releases we will likely shift to gcc 3.x."
I wonder if this means that we have to wait for a long time.
|
|
| works well, a totally fine port of gcc for beos |
 |
 |
By Daren Scot Wilson - Posted on January 31, 2002 - 11:04:28 (#398)
Current version when comment was posted: 2.95.3 |
 |
 |
I've been using this port of gcc since it was available, and have never had any trouble with it. I need this version for my high-paying software design work; the previous version (bundled with BeOS 5) is just a hair too old.
Installation involves renaming the old gnupro folder in /boot/devleop/tools and plopping a new one in its place. Instant update! A symbolic link makes it easy to use either the new 2.95.3 or the old version.
The BeIDE quietly assumes use of the new gcc with not the slightest whimper.
Now to convince Takashi Toyoshima to port the newest 3.0.3 to see how it performs on this Athlon processor....
|
|
|
|
|