]> wirehaze git hosting - graph-theory.git/blobdiff - lib/dbg.h

wirehaze git hosting

add broken prim
[graph-theory.git] / lib / dbg.h
index 422c681e40bd6138f9d163fc1c6e91687cc4c44c..8e34e5166ea7ff342cd7db078cc37e1e4afea2c8 100644 (file)
--- a/lib/dbg.h
+++ b/lib/dbg.h
@@ -12,7 +12,7 @@
   do                                                                          \
     {                                                                         \
       fprintf (stderr, "(%s:%d) %s () failed: %s errno: %s\n", __FILE__,      \
-               __LINE__, __func__, x, strerror (errno));                      \
+               __LINE__, __extension__ __func__, x, strerror (errno));        \
       exit (EXIT_FAILURE);                                                    \
     }                                                                         \
   while (0)