On Wed, 7 Jun 2000, Gilbert Carl Herschberger II wrote:

>I have worked through a lot of other problems on my journey to this point.
>I have installed another version of Linux (SuSE 6.0) and reconfigured
>constantly to include all of the right tools.
>
>Now, my C++ compiler on Linux doesn't like the code for jJOS/decaf because
>it does not support templates. Is it possible to set up a compiler
>directive to exclude templates, like NO_TEMPLATES?
>
>Or, do I have to scratch all that I have done and get SuSE 6.3?

I don't know if it will work. I'm using SuSE 6.3 / 6.4 and can't compile
it anyway.


Building JJOS for host
g++ -g -Wall -fno-builtin -DTARGET_UNIX -DPARANOID
-DNEW_INTERRUPT_HANDLING -DUSE_CURSES -I. -I../../../common/nativecode
-I../../../common/decaf -c ../../../common/decaf/java_object.cc
../../../common/decaf/java_object.cc: In method `enum jbArray<java_object
*>::primitiveArrayType java_object_array::array_type() const':
../../../common/decaf/java_object.cc:219: use of class template `template
<class elem_t> jbArray<elem_t>' as expression
../../../common/decaf/java_object.cc:219: parse error before `::'
../../../common/decaf/java_object.cc:220: warning: control reaches end of
non-void function `java_object_array::array_type() const'
../../../common/decaf/java_object.cc: In method `enum
jbArray<float>::primitiveArrayType java_jfloat_array::array_type() const':
../../../common/decaf/java_object.cc:254: use of class template `template
<class elem_t> jbArray<elem_t>' as expression
../../../common/decaf/java_object.cc:254: parse error before `::'
../../../common/decaf/java_object.cc:255: warning: control reaches end of
non-void function `java_jfloat_array::array_type() const'
../../../common/decaf/java_object.cc: In method `enum
jbArray<double>::primitiveArrayType java_jdouble_array::array_type() const':
../../../common/decaf/java_object.cc:271: use of class template `template
<class elem_t> jbArray<elem_t>' as expression
../../../common/decaf/java_object.cc:271: parse error before `::'
../../../common/decaf/java_object.cc:272: warning: control reaches end of
non-void function `java_jdouble_array::array_type() const'
../../../common/decaf/java_object.cc: In method `enum
jbArray<jju64>::primitiveArrayType java_jlong_array::array_type() const':
../../../common/decaf/java_object.cc:288: use of class template `template
<class elem_t> jbArray<elem_t>' as expression
../../../common/decaf/java_object.cc:288: parse error before `::'
../../../common/decaf/java_object.cc:289: warning: control reaches end of
non-void function `java_jlong_array::array_type() const'
../../../common/decaf/java_object.cc: In method `enum jbArray<unsigned
char>::primitiveArrayType java_mapped_array::array_type() const':
../../../common/decaf/java_object.cc:298: use of class template `template
<class elem_t> jbArray<elem_t>' as expression
../../../common/decaf/java_object.cc:298: parse error before `::'
../../../common/decaf/java_object.cc:299: warning: control reaches end of
non-void function `java_mapped_array::array_type() const'
make: *** [java_object.o] Error 1

Building JJOS for i386 
g++ -g -Wall -fno-builtin -fno-exceptions -DPARANOID -DHANDLE_CLOCK
-DNATIVE_CLOCK -DNEW_INTERRUPT_HANDLING -DTEST_A20
-I. -I../../../common/nativecode -I../../../common/decaf -o jbheap.o -c
../../../common/nativecode/jbheap.cc
../../../common/nativecode/jbheap.cc: In function `void getRoots()':
../../../common/nativecode/jbheap.cc:514: invalid use of void expression
../../../common/nativecode/jbheap.cc: At top level:
../../../common/nativecode/jbheap.cc:481: warning: `void panic(char *)'
defined but not used
make: *** [jbheap.o] Error 1

This is jos1f

cu

Claudio

-- 
+-----| http://linux.brasileiro.net - Seu site de informa��es |-----+
|     Claudio Clemens at Home   -   Informatik   -   TU-M�nchen     |
|         [EMAIL PROTECTED]         http://www.in.tum.de/~clemens   |
A poor excuse is better than no excuse!


_______________________________________________
Kernel maillist  -  [EMAIL PROTECTED]
http://jos.org/mailman/listinfo/kernel

Reply via email to