Heroic achievement

Discussion forum for Celestia developers; topics may only be started by members of the developers group, but anyone can post replies.
Avatar
Topic author
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 8 months
Location: Hamburg, Germany

Heroic achievement

Post #1by t00fri » 27.11.2006, 19:18

After I submitted yesterday another ~1 page list with (harmless) warnings arising during the compilation with gcc-4.1.0, Toti has indeed completed the heroic task to reduce ~70-80 warnings to ZERO!

So, for a little while at least, people compiling from CVS can do so without encountering ANY warnings....This happens for the first time as far as I can remember. ;-)

Many thanks, Toti,
Bye Fridger
Image

Avatar
Cham M
Posts: 4324
Joined: 14.01.2004
Age: 60
With us: 20 years 10 months
Location: Montreal

Post #2by Cham » 27.11.2006, 19:34

Since few days ago, I can't update the CVS files. When I try to update the code files on my HD, I get some error warning and the server disconnect after scanning the "Tools" folder in the CVS hierarchy. I don't know why. Any idea ?
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"

Avatar
Topic author
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 8 months
Location: Hamburg, Germany

Post #3by t00fri » 27.11.2006, 20:09

Cham wrote:Since few days ago, I can't update the CVS files. When I try to update the code files on my HD, I get some error warning and the server disconnect after scanning the "Tools" folder in the CVS hierarchy. I don't know why. Any idea ?


No, sorry. I just updated from CVS as every night without the slightest problems. But you may always start with an entirely new download, which doesn't take a long time these days.

Bye Fridger
Image

Toti
Developer
Posts: 338
Joined: 10.02.2004
With us: 20 years 9 months

Post #4by Toti » 27.11.2006, 20:34

Fridger,

Thank you for the recognition :D

I was using gcc 4.0, and I heard 4.1 was even a little stricter (which is good). After your warning report, I compiled the newest prerelease (4.1.2) A few more fixes are in CVS as you noted.

There are 3-4 warnings still present, though. I'll fix them ASAP.

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 19 years 9 months

Post #5by ElChristou » 27.11.2006, 21:29

Yep, Indeed, good job Toti and Tx a lot, on osX there is still a few ones but nothing compared to the approx 70 ones a few months ago! :P
Image

Avatar
Cham M
Posts: 4324
Joined: 14.01.2004
Age: 60
With us: 20 years 10 months
Location: Montreal

Post #6by Cham » 27.11.2006, 21:30

Ok, I redownloaded all the CVS files from scratch, and the compilation went fine. I had 83 warnings, however. Maybe the OS X version needs an update ?

Also, the cloud shadows aren't working (of course, I'm using OpenGL 2.0). Are the shadows still broken ?
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"

Avatar
dirkpitt
Developer
Posts: 674
Joined: 24.10.2004
With us: 20 years 1 month

Post #7by dirkpitt » 27.11.2006, 23:01

Cham wrote:Ok, I redownloaded all the CVS files from scratch, and the compilation went fine. I had 83 warnings, however. Maybe the OS X version needs an update ?

Also, the cloud shadows aren't working (of course, I'm using OpenGL 2.0). Are the shadows still broken ?


Not sure about the warnings, but cloud shadows are working for me. Try toggling on/off the Cloud Shadows checkbox (which I added recently to the preferences panel). You'll notice a difference.

Avatar
Cham M
Posts: 4324
Joined: 14.01.2004
Age: 60
With us: 20 years 10 months
Location: Montreal

Post #8by Cham » 27.11.2006, 23:17

dirkpitt wrote:Not sure about the warnings, but cloud shadows are working for me. Try toggling on/off the Cloud Shadows checkbox (which I added recently to the preferences panel). You'll notice a difference.


That's what I've done (the checkbox), but it gives me scrap. No shadows, and a VERY slow screen redraw with a deep blue ocean on Earth.
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 19 years 9 months

Post #9by ElChristou » 27.11.2006, 23:19

Cham wrote:...I had 83 warnings, however. Maybe the OS X version needs an update ?...


Strange, yesterday I get perhaps 4 warnings... :?
Image

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #10by selden » 28.11.2006, 00:00

For whatever reason, it has been noticed by several people that sometimes you need to delete your cvs development directories and download fresh copies of everything to get a clean build.
Selden

Toti
Developer
Posts: 338
Joined: 10.02.2004
With us: 20 years 9 months

Post #11by Toti » 28.11.2006, 14:47

El Christou,

You are welcome. It wouldn't really be that bad if they were only 70-80 warnings. The problem is they are multiplied by file inclusion, which makes things go overboard quickly: a total of ~800 cases! (as reported by grep)

Unfortunately I don't have access to a Mac, so I can do nothing there.

abramson
Posts: 408
Joined: 22.07.2003
With us: 21 years 4 months
Location: Bariloche, Argentina

Post #12by abramson » 29.11.2006, 02:14

Hi. 23 warnings in Windows, using the MS toolkit. Much less than before.

Guillermo


Return to “Ideas & News”