[LLVMdev] Compiling errors for tracelib.c

Henrik Bach henrik_bach_llvm at hotmail.com
Fri Jan 28 10:22:37 PST 2005


Hi,

Is there something wrong with my llvm-gcc compiler?:

------------------------
GNU C version 3.4-llvm 20030924 (experimental) (mingw32)
	compiled by GNU C version 3.4.1 (mingw special).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
c:/projects/src/llvm-4/llvm/runtime/libtrace/tracelib.c:54: error: syntax 
error before "PRIMES"
c:/projects/src/llvm-4/llvm/runtime/libtrace/tracelib.c:54: warning: type 
defaults to `int' in declaration of `PRIMES'
c:/projects/src/llvm-4/llvm/runtime/libtrace/tracelib.c:56: warning: data 
definition has no type or storage class
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!




More information about the llvm-dev mailing list