bug-time
[Top][All Lists]
Advanced

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

[Bug-time] GNU Time 1.7.90 - on HP-UX


From: Bruno Haible
Subject: [Bug-time] GNU Time 1.7.90 - on HP-UX
Date: Tue, 08 Aug 2017 01:24:25 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-83-generic; KDE/5.18.0; x86_64; ; )

Building it on HP-UX 11.31 with 'cc', there are two problems:

1) The autoconfiguration finds

checking whether C compiler handles -Werror -Wunknown-warning-option... yes
checking whether C compiler handles -Wall... yes
checking whether C compiler handles -Wextra... yes
checking whether C compiler handles -Wformat-security... yes
checking whether C compiler handles -Wswitch-enum... yes
checking whether C compiler handles -Wswitch-default... yes
checking whether C compiler handles -Wformat-nonliteral... yes
checking whether C compiler handles -Wunused-parameter... yes
checking whether C compiler handles -Wfloat-equal... yes
checking whether C compiler handles -fdiagnostics-show-option... yes
checking whether C compiler handles -funit-at-a-time... yes
checking whether C compiler handles -Wmissing-format-attribute... yes
checking whether C compiler handles -Wstrict-overflow... yes
checking whether C compiler handles -Wsuggest-attribute=const... yes
checking whether C compiler handles -Wsuggest-attribute=pure... yes

which afterwards leads to warnings for every cc invocation:

source='src/time.c' object='src/time-time.o' libtool=no \
DEPDIR=.deps depmode=none /bin/sh ../build-aux/depcomp \
cc -AC99 -D_XOPEN_SOURCE=500 -DHAVE_CONFIG_H -I. -I..  -Ilib -I../lib -I./lib 
-Isrc -I../src -I/home/haible/prefix-hpux113-cc/include -Wall -Wextra 
-Wformat-security -Wswitch-enum -Wswitch-default -Wformat-nonliteral 
-Wunused-parameter -Wfloat-equal -fdiagnostics-show-option -funit-at-a-time 
-Wmissing-format-attribute -Wstrict-overflow -Wsuggest-attribute=const 
-Wsuggest-attribute=pure -g -c -o src/time-time.o `test -f 'src/time.c' || echo 
'../'`src/time.c
cc: warning 422: Unknown option "-Wextra" ignored.
cc: warning 422: Unknown option "-Wformat-security" ignored.
cc: warning 422: Unknown option "-Wswitch-enum" ignored.
cc: warning 422: Unknown option "-Wswitch-default" ignored.
cc: warning 422: Unknown option "-Wformat-nonliteral" ignored.
cc: warning 422: Unknown option "-Wunused-parameter" ignored.
cc: warning 422: Unknown option "-Wfloat-equal" ignored.
cc: warning 422: Unknown option "fdiagnostics-show-option" ignored.
cc: warning 422: Unknown option "funit-at-a-time" ignored.
cc: warning 422: Unknown option "-Wmissing-format-attribute" ignored.
cc: warning 422: Unknown option "-Wstrict-overflow" ignored.
cc: warning 422: Unknown option "-Wsuggest-attribute=const" ignored.
cc: warning 422: Unknown option "-Wsuggest-attribute=pure" ignored.

2) A link error:

cc -AC99 -D_XOPEN_SOURCE=500  -g  -L/home/haible/prefix-hpux113-cc/lib -o 
tests/time-aux tests/tests_time_aux-time-aux.o  
/usr/ccs/bin/ld: Unsatisfied symbols:
   strtof (first referenced in tests/tests_time_aux-time-aux.o) (code)
gmake[2]: *** [tests/time-aux] Error 1

This is documented in gnulib:
https://www.gnu.org/software/gnulib/manual/html_node/strtof.html


Bruno




reply via email to

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