Hi Yvonne,
Yvonne Jung wrote:
> Hi list,
>
> these days I wanted to try out OpenSG 2, and had some issues when compiling
> with gcc 4.3.1 (running on SuSE 11.0). Thus, attached you find a patch with
> the fixes.
>
Yeah, I ran into that, too... :(
> - typedef dense_hashtable<V,K,HF,ExK,EqK,A> dense_hashtable;
> + //typedef dense_hashtable<V,K,HF,ExK,EqK,A> dense_hashtable;
> typedef dense_hashtable_iterator<V,K,HF,ExK,EqK,A> iterator;
> typedef dense_hashtable_const_iterator<V,K,HF,ExK,EqK,A> const_iterator;
>
> @@ -137,7 +137,7 @@
> typedef V* pointer;
>
> // "Real" constructor and default constructor
> - dense_hashtable_iterator(const dense_hashtable *h,
> + dense_hashtable_iterator(const dense_hashtable<V,K,HF,ExK,EqK,A> *h,
>
Those changes should be fine, I don't see a reason not to do them.
> -#include <ext/hash_fun.h>
> +#include <hash_fun.h>
>
Hm, I'm fairly certain that will break compilation on older systems. My
4.1.1 only has ext/hash_fun.h. So we're going to need something that's
more backwards compatible...
> +#include <climits>
>
Is that available on the usual compilers? I can't find it (again, 4.1.1).
Yours
Dirk
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users