On Thu, 2007-07-26 at 11:04 +0100, Caolan McNamara wrote:
> Ideally we would be able to detect this in configure, but I don't know
> how to test for bustage :-(

Maybe this is a test for it, we could use AC_EGREP_CPP in autoconf to
implement it...

echo "#include <string>" | g++ -x c++ -E - | grep "visibility push(default)" > 
/dev/null
if [ "$?" -ne "0" ]; then echo need to use stlport; else echo system stl safe; 
fi

This says "system stl safe" for me, what does it say on e.g. the mac gcc ?, 
and double check on failure that there is no other sort of visibility pragmas 
or markup
in the -E output that might have caused a false negative.

C.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to