[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Warnings when running "bootstrap"

From: Bjarni Ingi Gislason
Subject: Re: Warnings when running "bootstrap"
Date: Mon, 5 Sep 2022 00:16:23 +0000

  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]


/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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]