[LLVMdev] Compiling errors for tracelib.c

Henrik Bach henrik_bach_llvm at hotmail.com
Fri Jan 28 12:29:08 PST 2005


>From: Chris Lattner Date: Fri, 28 Jan 2005 13:40:13 -0600 (CST)
>

>
>It looks like that file had non-portable code in it.  Can you try updating 
>and see if it works now?

Yes, it works now.

Henrik.

>
>-Chris
>
>>c:/projects/src/llvm-4/llvm/runtime/libtrace/tracelib.c:57: error: syntax 
>>error before "CurrentSizeEntry"
>>c:/projects/src/llvm-4/llvm/runtime/libtrace/tracelib.c:57: warning: type 
>>defaults to `int' in declaration of `CurrentSizeEntry'
>>c:/projects/src/llvm-4/llvm/runtime/libtrace/tracelib.c:57: warning: data 
>>definition has no type or storage class
>>c:/projects/src/llvm-4/llvm/runtime/libtrace/tracelib.c:59: error: syntax 
>>error before "MAX_NUM_PROBES"
>>c:/projects/src/llvm-4/llvm/runtime/libtrace/tracelib.c:59: warning: type 
>>defaults to `int' in declaration of `MAX_NUM_PROBES'
>>c:/projects/src/llvm-4/llvm/runtime/libtrace/tracelib.c:59: warning: data 
>>definition has no type or storage class
>>c:/projects/src/llvm-4/llvm/runtime/libtrace/tracelib.c: In function 
>>`FindIndex':
>>
>>c:/projects/src/llvm-4/llvm/runtime/libtrace/tracelib.c:173: error: `uint' 
>>undeclared (first use in this function)
>>c:/projects/src/llvm-4/llvm/runtime/libtrace/tracelib.c:173: error: (Each 
>>undeclared identifier is reported only once
>>c:/projects/src/llvm-4/llvm/runtime/libtrace/tracelib.c:173: error: for 
>>each function it appears in.)
>>c:/projects/src/llvm-4/llvm/runtime/libtrace/tracelib.c:173: error: syntax 
>>error before "numProbes"
>>c:/projects/src/llvm-4/llvm/runtime/libtrace/tracelib.c:181: error: 
>>`numProbes' undeclared (first use in this function)
>>make[2]: *** 
>>[/C/projects/build/MinGW/llvm-4-1/runtime/libtrace/Debug/tracelib.bc] 
>>Error 1
>>------------------------
>>
>>
>>
>>=============================================================
>>Henrik Bach
>>LLVM Open Source Developer
>>
>>e-mail: henrik_bach_llvm at hotmail.com
>>=============================================================
>>'Nothing is impossible; The impossible just takes longer time :)'
>>- Inventor of a new energy saver light bulp from Denmark.
>>
>>No software patents - Thank you Poland: 
>>http://www.nosoftwarepatents.com/en/m/intro/app0411.html
>>Got Freedom?
>>Software Freedom Day - 28th of August
>>http://www.softwarefreedomday.org/
>>=============================================================
>>
>>_________________________________________________________________
>>Undgå pop-ups med MSN Toolbar -  http://toolbar.msn.dk hent den gratis!
>>
>>_______________________________________________
>>LLVM Developers mailing list
>>LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
>>http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev
>>
>
>-Chris
>
>--
>http://nondot.org/sabre/
>http://llvm.cs.uiuc.edu/
>_______________________________________________
>LLVM Developers mailing list
>LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
>http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev

_________________________________________________________________
Få alle de nye og sjove ikoner med MSN Messenger http://messenger.msn.dk/




More information about the llvm-dev mailing list