[Had accidentally dropped the cross-post. Here it is again. However, lets continue on the more general [email protected] only, I would say.]

Stephan Bergmann wrote:
Caolan McNamara wrote:
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.

Says "system stl safe" on Mac OS X 10.4 (which uses Apple's GCC 4.0.1).

I will be on vacation for one week, but will try to remember to pick up on this again afterwards...

-Stephan

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

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

Reply via email to