[LLVMdev] 134.perl

Vinay Belgaumkar vinay_sb at hotmail.com
Wed Mar 31 09:17:28 PST 2004


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

--------------------------------------------
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




More information about the llvm-dev mailing list