[llvm-bugs] [Bug 50696] New: mallinfo deprecated

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Jun 12 10:11:22 PDT 2021


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: unassignedbugs at nondot.org
          Reporter: soloturn at gmail.com
                CC: arnaud.degrandmaison at arm.com,
                    llvm-bugs at lists.llvm.org, smithp352 at googlemail.com,
                    Ties.Stuij at arm.com

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210612/e7827004/attachment.html>


More information about the llvm-bugs mailing list