#include problem

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

#include problem

Zhongxing Xu-3
Hi,

On Fedora 9 GCC 4.3,

LLVMCConfigurationEmitter.cpp needs #include <typeinfo>.
ValueTracking.cpp needs #include <cstring>.

Thanks.

--Zhongxing Xu

_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Reply | Threaded
Open this post in threaded view
|

Re: #include problem

Chris Lattner

On Jun 3, 2008, at 6:48 AM, Zhongxing Xu wrote:

> Hi,
>
> On Fedora 9 GCC 4.3,
>
> LLVMCConfigurationEmitter.cpp needs #include <typeinfo>.
> ValueTracking.cpp needs #include <cstring>.

Fixed, thanks:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20080602/063303.html

-Chris
_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Reply | Threaded
Open this post in threaded view
|

Re: #include problem

Zhongxing Xu-3
Hi,

For GCC 4.3,

SmallVector.h should include <cstring> for memcpy().


On Wed, Jun 4, 2008 at 12:46 PM, Chris Lattner <[hidden email]> wrote:

On Jun 3, 2008, at 6:48 AM, Zhongxing Xu wrote:

> Hi,
>
> On Fedora 9 GCC 4.3,
>
> LLVMCConfigurationEmitter.cpp needs #include <typeinfo>.
> ValueTracking.cpp needs #include <cstring>.

Fixed, thanks:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20080602/063303.html

-Chris
_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev


_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev