• # pas compris l'exemple

    Posté par (site web personnel, Mastodon) . En réponse au lien Un grep contextuel en Ada. Évalué à 2.

     > add-dirs D:/dev/calendon/src
     > find-regex ^\s*#\s*if
     > find-text clang
     > exclude-text pop
     > match-contexts
     D:\dev\calendon\src\tests\unit\test-utf8.c
     1 #include <calendon/test.h>
     2
     3 #include <calendon/utf8.h>
     4
     5 #include <stdlib.h>
     6 #include <stdio.h>
     7
    -> 8 #if defined(__clang__)
    -> 9 #pragma clang diagnostic push
    -> 10 #pragma clang diagnostic ignored "-Wpointer-sign"
     11 #endif
     12
     13 CN_TEST_SUITE_BEGIN("UTF-8")
     14
     15 CN_TEST_UNIT("Bytes in UTF-8 code point") {
    

    Si quelqu'un a une explication, je prends.

    "It is seldom that liberty of any kind is lost all at once." ― David Hume