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!
On Fri, 28 Jan 2005, Henrik Bach wrote:> Is there something wrong with my llvm-gcc compiler?: > 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 classIt looks like that file had non-portable code in it. Can you try updating and see if it works now? -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/
>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/