Archiv verlassen und diese Seite im Standarddesign anzeigen : Ruby Board
Ich versuche eine Forensoftware in Ruby zu schreiben um die Sprache besser kennen zu lernen. Vielleicht hat ja wer interrese mit zu programmieren. Einfach bei mir melden.
Bis jetzt ist das wie ein überdimensionales Gästebuch. Ihr könnt es euch, so lange ich online bin, unter http://80.146.151.146/cgi-bin/bbb/index.cgi?action=boards anschauen.
mfg Benjamin
vukodlac
23.11.2003, 20:21
hättest du nen no-ip client verwendet wäre man nicht ip abhängig
Ich lade das nächte Woche auf nen Server. Dann kann man auch den Quellcode runterladen. So wird's euch wohl noch nicht viel sagen. :D
Vorallem suche ich noch Leute die mit coden(z.B. einen Admin bereich usw.) wollen. Das ganze kommt unter GLP.
mfg Benjamin
Also, weiter in meinem Monolog -> Ich würde ja das ganz online stellen. Bekomme aber nicht ruby1.8 auf einen Server mit SuSe8.2 zum laufen. :mad:
gcc -g -O2 -I. -I. -c parse.c
parse.y: In function `ruby_yylex':
parse.y:4365: warning: assignment makes pointer from integer without a cast
parse.y:4368: dereferencing pointer to incomplete type
parse.y:4370: dereferencing pointer to incomplete type
parse.y:4372: dereferencing pointer to incomplete type
parse.y:4381: dereferencing pointer to incomplete type
parse.y:4383: dereferencing pointer to incomplete type
parse.y:4383: dereferencing pointer to incomplete type
parse.y:4385: dereferencing pointer to incomplete type
make: *** [parse.o] Error 1
Soo, weil ich's nicht auf die Reihe bekomme. Mal wieder über meine IP.
Mit_Download!
http://217.85.178.204/cgi-bin/bbb/index.cgi?action=index
mfg Benjamin
Bekomme keine Fehler.
stefan@blackbox:/pool/install/ruby-1.8.0$ gcc -c parse.c
stefan@blackbox:/pool/install/ruby-1.8.0$ cat -n parse.y | grep " 43[6-8][0-9]"
4360
4361 if (lex_state != EXPR_DOT) {
4362 struct kwtable *kw;
4363
4364 /* See if it is a reserved word. */
4365 kw = rb_reserved_word(tok(), toklen());
4366 if (kw) {
4367 enum lex_state state = lex_state;
4368 lex_state = kw->state;
4369 if (state == EXPR_FNAME) {
4370 yylval.id = rb_intern(kw->name);
4371 }
4372 if (kw->id[0] == kDO) {
4373 if (COND_P()) return kDO_COND;
4374 if (CMDARG_P() && state != EXPR_CMDARG)
4375 return kDO_BLOCK;
4376 if (state == EXPR_ENDARG)
4377 return kDO_BLOCK;
4378 return kDO;
4379 }
4380 if (state == EXPR_BEG)
4381 return kw->id[0];
4382 else {
4383 if (kw->id[0] != kw->id[1])
4384 lex_state = EXPR_BEG;
4385 return kw->id[1];
4386 }
4387 }
4388 }
4389
stefan@blackbox:/pool/install/ruby-1.8.0$ gcc --version
gcc (GCC) 3.2.3
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
mit gcc 2.95.4 und gcc 3.0.4 klappt es auch.
Erst mal thx. Aber der Codeauschnitt ist identisch. GCC-Version: 3.2
http://www.coden.at/cgi-bin/index.cgi?
Ist jetzt online!
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.