GCC 4.0 Released

Discuss PearPC's Development and any bugs you find here

GCC 4.0 Released

Postby mikeazorin » Sat Apr 23, 2005 1:59 pm

I'm just installing it right now and seeing how PearPC compiles in it.
I submit to Google, Google's ownership of the world, and what Google stands for.
User avatar
mikeazorin
PearPC Guru
PearPC Guru
 
Posts: 746
Joined: Sat Oct 23, 2004 10:56 pm
Location: USA!!!

Postby prasys » Sat Apr 23, 2005 2:36 pm

Yes , it fails on HFS+...For some reason

GCC4 is really picky..
Bastila Shan: The Jedi do not believe in killing their prisoners. No one deserves execution, no matter what their crimes.
prasys
PearPC.net staff
PearPC.net staff
 
Posts: 2357
Joined: Wed Jun 30, 2004 9:48 am
Location: Kuala Lumpur, Malaysia

Postby dfoesch » Sat Apr 23, 2005 8:32 pm

This was already mentioned on the dev mailing-list.

[quote="Sebastian":2b956835d7]
Hello,

Things like
void *p;
((char*) p) += 1;
were already deprecated with current gcc and now longer compile with the
upcoming gcc 4.0

You can find tons of them in the /src/io/prom/fs/{hfs|hfsplus}
directories (ie. not my fault Smile ). It would be nice if someone could
fix this.

Sebastian
[/quote:2b956835d7]
Daniel Foesch
PearPC Developer
dfoesch
PearPC developer
PearPC developer
 
Posts: 574
Joined: Fri Oct 15, 2004 7:36 pm
Location: Seattle

Postby thewer » Sun Apr 24, 2005 5:13 am

pardon my ignorance etc... but why should

void *p;
((char*) p) += 1;

be depricated? I know what I would thing it should do but what are the problems with it that mean that "people" want it depricated??

thewer ;)
Computer,
Black,
(was) Quiet,
Green AND Orange LED's,
Custom Scratch,
NEW: Noisy Fan! (now ded!)
User avatar
thewer
Advanced Member
Advanced Member
 
Posts: 470
Joined: Fri Jun 25, 2004 2:53 am
Location: Australia

Postby dfoesch » Tue Apr 26, 2005 3:22 am

[quote="thewer":cda62bdcb4]
pardon my ignorance etc... but why should

void *p;
((char*) p) += 1;

be depricated? I know what I would thing it should do but what are the problems with it that mean that "people" want it depricated??
[/quote:cda62bdcb4]

Semantic confusion, and thus inability to optimize it well.

Honestly, they need to reconsider... there's no reason for that to be taken out.
Daniel Foesch
PearPC Developer
dfoesch
PearPC developer
PearPC developer
 
Posts: 574
Joined: Fri Oct 15, 2004 7:36 pm
Location: Seattle


Return to PearPC Development

Who is online

Users browsing this forum: No registered users and 1 guest