GCC 4.3.2 Bug

Discussion created by Methylene on Nov 1, 2008
Latest reply on Mar 26, 2012 by qneill
Anyone else exprience this?

It's strange, I don't remember installing gcc updates until this morning, and last night I was getting this error after trying to revert to the 1.1 sdk.

/usr/include/brook/brtvector.hpp error: explicit template specialization cannot have a storage class        BrookTerrain    line 190-195

The bug is simple, in some newer versions of GCC you cannot use the static keyword in a template...  I'm not sure how this effects anything, but I haven't had any problems yet.

Simply removing the static key word around line 188 in brook/brtvector.hpp in your includes directory is a fix.

Or you can patch with this using patch -p0 in the brook include directory...