• # Ne compile pas

    Posté par . En réponse au journal Shake : secouez vos fichiers, c'est pour leur bien !. Évalué à 3.

    La compilation ne fonctionne pas sur mon système

    gcc-4.1.0, glibc-2.4, 2.6.16-ck10 x86_64

    Voila ce que ça me donne :

    gcc -std=gnu99 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Werror -pedantic-errors -Wconversion -Wpointer-arith -Wbad-function-cast -Wcast-align -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -O2 -DNDEBUG -c executive.c -o executive.o
    cc1: warnings being treated as errors
    executive.c: In function 'fcopy':
    executive.c:63: attention : passing argument 2 of 'ioctl' with different width due to prototype
    executive.c:145: attention : passing argument 3 of 'write' with different width due to prototype
    executive.c: In function 'shake_reg':
    executive.c:212: attention : passing argument 3 of 'fcopy' with different width due to prototype
    executive.c:226: attention : passing argument 3 of 'fcopy' with different width due to prototype
    executive.c: In function 'list_dir':
    executive.c:324: attention : passing argument 2 of 'qsort' with different width due to prototype
    make: *** [executive.o] Erreur 1


    Peut-être est-ce dû à gcc 4.1 ?