[IRCServices] so here is the error
Craig McLure
Craig at frostycoolslug.com
Mon May 10 19:07:15 PDT 2004
Its probably related to this line:
{ LANG_GR "gr" },
you are missing a , so it should read:
{ LANG_GR, "gr" },
If that doesnt fix it, i'm not sure what would.
/****************************************
* Craig "FrostyCoolSlug" McLure
* Craig at FrostyCoolSlug.com
* InspIRCd - http://www.inspircd.org
* ChatSpike - http://www.chatspike.net
****************************************/
/****************************************
* From - john sarantopoulos <ysar68 at otenet.gr>
* To - ircservices <ircservices at ircservices.za.net>
* Sent - 2004-05-11 02:22:02
* Subject - [IRCServices] so here is the error
****************************************/
/****** - Begin Original Message - ******/
>when i try to compile after add the language put this : form language.c
>
>
>/* Order in which languages should be displayed: (alphabetical) */
>static int langorder[] = {
> LANG_EN_US, /* English (US) */
> LANG_NL, /* Dutch */
> LANG_FR, /* French */
> LANG_DE, /* German */
> LANG_HU, /* Hungarian */
> LANG_IT, /* Italian */
>/* LANG_JA_JIS,*/ /* Japanese (JIS encoding) */
> LANG_JA_EUC, /* Japanese (EUC encoding) */
> LANG_JA_SJIS, /* Japanese (SJIS encoding) */
> LANG_PT, /* Portugese */
> LANG_ES, /* Spanish */
> LANG_TR, /* Turkish */
> LANG_GR, /* Greek */
>};
>
>/* Filenames for language files: */
>static struct {
> int num;
> const char *filename;
>} filenames[] = {
> { LANG_EN_US, "en_us" },
> { LANG_NL, "nl" },
> { LANG_FR, "fr" },
> { LANG_DE, "de" },
> { LANG_HU, "hu" },
> { LANG_IT, "it" },
>/* { LANG_JA_JIS, "ja_jis" },*/
> { LANG_JA_EUC, "ja_euc" },
> { LANG_JA_SJIS, "ja_sjis" },
> { LANG_PT, "pt" },
> { LANG_ES, "es" },
> { LANG_TR, "tr" },
> { LANG_GR "gr" },
> { -1, NULL }
>};
>
>and from language.h this :
>
>#define LANG_EN_US 0 /* United States English */
>#define LANG_UNUSED1 1 /* Unused; was Japanese (JIS encoding) */
>#define LANG_JA_EUC 2 /* Japanese (EUC encoding) */
>#define LANG_JA_SJIS 3 /* Japanese (SJIS encoding) */
>#define LANG_ES 4 /* Spanish */
>#define LANG_PT 5 /* Portugese */
>#define LANG_FR 6 /* French */
>#define LANG_TR 7 /* Turkish */
>#define LANG_IT 8 /* Italian */
>#define LANG_DE 9 /* German */
>#define LANG_NL 10 /* Dutch */
>#define LANG_HU 11 /* Hungarian */
>#define LANG_GR 12 /* Greek */
>
>#define NUM_LANGS 13 /* Number of languages */
>#define LANG_DEFAULT -1 /* "Use the default" setting */
>
>i get this error in compile
>
>ake
>make -C lang langstrs.h
>make[1]: Entering directory `/home/irc/ircservices-5.0.31/lang'
>Generating langstrs.h... 1204 strings
>langstrs.h unchanged
>make[1]: Leaving directory `/home/irc/ircservices-5.0.31/lang'
>gcc -O2 -fno-strict-aliasing -g -Wall -Wmissing-prototypes -fno-builtin-log -c language.c -o language.o
>language.c:60: parse error before string constant
>make: *** [language.o] Error 1
>
>what i have to do for find the solution and compile?
>------------------------------------------------------------------
>To unsubscribe or change your subscription options, visit:
>http://www.ircservices.za.net/mailman/listinfo/ircservices
>
/******* - End Original Message - *******/