• # Et avec gcc...

    Posté par (site web personnel) . En réponse au message Probleme d'ecriture dans un STRUCT de int .. Évalué à 4.

    gcc -Wall te retourne l'erreur ad-hoc.

    [laurent@litchi badscan]$ cc -Wall badscan.c
    badscan.c: In function ‘main’:
    badscan.c:25: warning: format ‘%d’ expects type ‘int *’, but argument 2 has type ‘short int *’
    badscan.c:25: warning: format ‘%d’ expects type ‘int *’, but argument 3 has type ‘short int *’
    badscan.c:25: warning: format ‘%d’ expects type ‘int *’, but argument 4 has type ‘short int *’

    Votez les 30 juin et 7 juillet, en connaissance de cause. http://www.pointal.net/VotesDeputesRN