project-navigation
Personal tools

Author Topic: Small Typo in SVN revisions 3285 and 3291.  (Read 2565 times)

R1dO

  • Guest
Small Typo in SVN revisions 3285 and 3291.
« on: September 04, 2006, 04:05:53 am »
While trying to build the latest SVN revision (3292) the compiler returned the following warning:
Quote

* [REF] ../debugx86_64/ref_gl/gl_anim.o
In bestand ingevoegd door ref_gl/gl_anim.c:26:
ref_gl/gl_local.h:55:10: fout: #include verwacht "BESTAND" of <BESTAND>
In file included from ref_gl/gl_local.h:354,
                 from ref_gl/gl_anim.c:26:
ref_gl/gl_font.h:12: fout: syntax error before ‘TTF_Font’
ref_gl/gl_font.h:12: let op: geen puntkomma aan het einde van een struct of union
ref_gl/gl_font.h:16: fout: syntax error before ‘}’ token
ref_gl/gl_font.h:16: let op: type krijgt standaardwaarde ‘int’ in de declaratie van ‘font_t’
ref_gl/gl_font.h:16: let op: datadefinitie heeft geen type of opslagklasse
ref_gl/gl_font.h:19: fout: syntax error before ‘fonts’
ref_gl/gl_font.h:19: let op: type krijgt standaardwaarde ‘int’ in de declaratie van ‘fonts’
ref_gl/gl_font.h:19: let op: datadefinitie heeft geen type of opslagklasse
make[1]: *** [../debugx86_64/ref_gl/gl_anim.o] Fout 1
make: *** [build_debug] Fout 2


Luckily it is an error that can be corrected very easy (just a small typo).
But since i don't know how to alert the guy who submitted it, i'll just post it here.

So please change line 55 in "src/ref_gl/gl_local.h" from:
#include <SDL/SDL_ttf.h
to:
#include <SDL/SDL_ttf.h>


For revision 3285 the "make lang" command complained about the following:
Quote

809 translated messages, 77 fuzzy translations, 38 untranslated messages.
po/en.po:393: dubbele melding definitie
po/en.po:20: ...dit is de lokatie van de eerste definitie
po/en.po:1271: dubbele melding definitie
po/en.po:24: ...dit is de lokatie van de eerste definitie
po/en.po:1844: dubbele melding definitie
po/en.po:28: ...dit is de lokatie van de eerste definitie
po/en.po:1848: dubbele melding definitie
po/en.po:32: ...dit is de lokatie van de eerste definitie
po/en.po:4401: dubbele melding definitie
po/en.po:36: ...dit is de lokatie van de eerste definitie
msgfmt: found 5 fatal errors
689 translated messages, 176 fuzzy translations, 69 untranslated messages.


This could be fixed by deleting lines 18 until 37 from "src/po/en.po". Apperantly some double entries were introduced ;)

Those fixes seems to solve the problems (at least the compiler didn't complain anymore when i tested it).

Greetings René

P.S. I'm very impressed with the current status of this project. Keep up the good work :D
P.P.S, This message was edited to include a second buggie ;)

ubequitz

  • Guest
Re: Small Typo in SVN revisions 3285 and 3291.
« Reply #1 on: September 04, 2006, 07:29:22 pm »
Thanks for reporting this and the fix!

To alert developers your best bet is to login to the IRC channel (server: FreeNode, channel #ufo:ai ). Most of the developers are logged in there and are extremely friendly (and would especially welcome reports such as these).

In this case the SVN problem was introduced when most of the devs were asleep so it wasn't corrected for awhile... but I believe at least one committer was on the IRC channel at the time.

PS: I think I introduced the bad en.po file which caused the make lang errors in that revision... and I was too tired to even notice them! my bad!

R1dO

  • Guest
Small Typo in SVN revisions 3285 and 3291.
« Reply #2 on: September 04, 2006, 07:51:15 pm »
Glad to help out.

En thnx for pointing me to the IRC channel, next time i notice something that was introduced due to lack of sleep ;) i will report it there.

Greetings René