Sort:  
error code
I seem to have the same problem, and your workaround does not seem to work.. Any suggestions?

@edit: I had a problem allocating the make files..**/flags.make was not working.. Did it this way:

find -iname flags.make >> tmp
cat ./tmp | while read line; do sed -ie 's/CXX_FLAGS = /CXX_FLAGS =-fpermissive /' $line;done

Thank you for the "solution" :D

That saved me some time. Cheers