gcc v3.0.1 vs gcc v2.95.3 -- KDE 2.2.1

Antonis Kanavouras ankan at med.auth.gr
Thu Nov 29 17:16:01 EET 2001


Christos Ricudis wrote:

>  V> to mono poy diafonoysa kai diafono einai to "void main()". Ola ta
>
> E profanws, to mono pragma sto opoio 8a diafwnouses esy einai kati sto
opoio oi
> exontes thn anti8eth apopsh einai 100% swstoi :>
>

An katalava kala -mia kai den exw asxolh8ei- o gcc 3.0.1 den sou epitrepei
na kaneis compile oute
---------------------
#include <stdio.h>

void main(){
    printf("Hello World! Eimai enas  xalaros typaklas pou den ton noiazei ti
exit code epistrefei  sto leitourgiko tou\n");
  }
 --------------------

Symfwnw oti kalo einai na klp klp.
Den katalavainw giati prepei na mou to apagoreyei. Den erkei ena warning?
To leitourgiko den prepei na xerei na ta fernei volta me o,ti malakia tou
dwsoun?

Den ekfrazw pepoi8hsh, rwtaw st' alh8eia, estw kai afelws.

Antonis






More information about the Linux-greek-users mailing list