[LLVMbugs] [Bug 3586] cant redefine malloc() prototype

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Feb 14 12:54:02 PST 2009


http://llvm.org/bugs/show_bug.cgi?id=3586


Douglas Gregor <dgregor at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #2 from Douglas Gregor <dgregor at apple.com>  2009-02-14 14:54:01 ---
Added the -ffreestanding option that will have us act as a freestanding
implementation, which disables the implicit declarations of builtin library
functions (like malloc). The test case works with this option, then fails (as
it should) when we're acting as a hosted implementation (the default).


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list