The compilation failed because I had an unclean git repository.

  My compilation creates a lot of warnings, which could be reduced if
the header files were fixed

    131 [-Walloca]
      7 [-Wformat=]
      5 [-Wformat-nonliteral]
      3 [-Wimplicit-fallthrough=]
      2 [-Wmaybe-uninitialized]
     21 [-Wmissing-prototypes]
      3 [-Wpedantic]
     32 [-Wredundant-decls]
    221 [-Wstrict-prototypes]
      2 [-Wunused-but-set-variable]
     69 [-Wunused-parameter]
      1 [-Wunused-variable]

and

/usr/bin/ld: src/misc.o: in function `get_tmppath':
/home/bg/git/make/src/misc.c:562: warning: the use of `mktemp' is dangerous, 
better use `mkstemp' or `mkdtemp'

  In misc.c the "HAVE_MKSTEMP" in not checked first so "mktemp" is
selected as my system has both versions.

  • Re: Warni... Bjarni Ingi Gislason via Bug reports and discussion for GNU make

Reply via email to