https://bugs.llvm.org/show_bug.cgi?id=50696
Bug ID: 50696
Summary: mallinfo deprecated
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: AArch64
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected],
[email protected], [email protected],
[email protected]
deprecated mallinfo:
[127/4269][ 2%][72.261s] Building CXX object
lib/Support/CMakeFiles/LLVMSupport.dir/Process.cpp.o
In file included from
/src/swift-language-git/src/llvm-project/llvm/lib/Support/Process.cpp:108:
/src/swift-language-git/src/llvm-project/llvm/lib/Support/Unix/Process.inc:94:10:
warning: 'mallinfo' is deprecated [-Wdeprecated-declarations]
mi = ::mallinfo();
^
/usr/include/malloc.h:118:48: note: 'mallinfo' has been explicitly marked
deprecated here
extern struct mallinfo mallinfo (void) __THROW __MALLOC_DEPRECATED;
^
/usr/include/malloc.h:31:30: note: expanded from macro '__MALLOC_DEPRECATED'
# define __MALLOC_DEPRECATED __attribute_deprecated__
^
/usr/include/sys/cdefs.h:261:51: note: expanded from macro
'__attribute_deprecated__'
# define __attribute_deprecated__ __attribute__ ((__deprecated__))
^
1 warning generated.
[289/4269][ 6%][282.466s] Building CXX object
lib/IR/CMakeFiles/LLVMCore.dir/Module.cpp.o^C
ninja: build stopped: interrupted by user.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs