[LLVMdev] 134.perl

Chris Lattner sabre at nondot.org
Wed Mar 31 09:24:01 PST 2004


On Wed, 31 Mar 2004, Vinay Belgaumkar wrote:

> Hello,
>    I am trying to compile 134.perl - the spec95 benchmark using LLVM and I
> am getting the following error message -

Hrm, I'm not sure.  llvmgcc is a bit more strict than GCC 3.3 and below
(it's based on the 3.4 parser).  We compile 134.perlbmk with the following
options and it seems to compile for us:  -DHAVE_STRERROR -DHAS_MKDIR
-DHAS_RMDIR -DI_TIME

If that doesn't work, please let me know!

-Chris


> --------------------------------------------
> 34.perl/symbol/dolist.c:1786: warning: "struct tm" declared inside parameter
> list
> 134.perl/symbol/dolist.c:1786: warning: its scope is only this definition or
> declaration, which is probably not what you want
> 134.perl/symbol/dolist.c: In function `do_time':
>
> 134.perl/symbol/dolist.c:1798: error: dereferencing pointer to incomplete
> type
> 134.perl/symbol/dolist.c:1799: error: dereferencing pointer to incomplete
> type
> 134.perl/symbol/dolist.c:1800: error: dereferencing pointer to incomplete
> type
> 134.perl/symbol/dolist.c:1801: error: dereferencing pointer to incomplete
> type
> 134.perl/symbol/dolist.c:1802: error: dereferencing pointer to incomplete
> type
> ------------------------------------------
>
> The function where this occurs, has struct tm defined as a parameter type.
> This compiles fine with the usual gcc.
>
> Any idea why this is happening  ?
>
>
>
> Thanx,
>
> _________________________________________________________________
> Get tax tips, tools and access to IRS forms – all in one place at MSN Money!
> http://moneycentral.msn.com/tax/home.asp
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev
>

-Chris

-- 
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/





More information about the llvm-dev mailing list