View Issue Details

IDProjectCategoryView StatusLast Update
0005890GNUnetbuild processpublic2019-09-11 16:08
Reporterng0Assigned Tong0 
PrioritylowSeverityminorReproducibilityhave not tried
Status assignedResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0005890: some conftest tests do not include stdlib
Descriptionmalloc on NetBSD is defined in stdlib.h, conftest currently leads to:

configure:18990: checking whether unaligned 64-bit access works
configure:19015: clang -o conftest -fno-strict-aliasing -Wall -g -O0 -Wno-address-of-packed-member -L/usr/pkg/lib -Wl,--unresolved-symbols=report-all conftest.c >&5
conftest.c:32:24: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration]
                                 void *bp = malloc (50);
                                            ^
conftest.c:32:24: note: include the header <stdlib.h> or explicitly provide a declaration for 'malloc'
1 warning generated.
configure:19015: $? = 0
configure:19015: ./conftest
configure:19015: $? = 0
configure:19026: result: yes
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-09-11 14:06 ng0 New Issue
2019-09-11 14:06 ng0 Assigned To => ng0
2019-09-11 14:06 ng0 Status new => assigned
2019-09-11 16:08 ng0 Priority normal => low