[patch] Fix mismatched #pragma GCC visibility
Rafael Ávila de Espíndola
rafael.espindola@gmail.com
Tue Jan 24 04:48:00 GMT 2012
While trying to improve clang's handling of "#pragma GCC visibility" I
found out that libstdc++-v3/libsupc++/typeinfo looks like
#pragma GCC visibility push(default)
extern "C++" {
#pragma GCC visibility pop
}
Is that supposed to work or just happens to? If desired, the attached
patch moves the pop after the closing }.
2011-01-23 Rafael Avila de Espindola <rafael.espindola@gmail.com>
* libsupc++/typeinfo: Correctly match #pragma GCC visibility
pop with #pragma GCC visibility push.
Cheers,
Rafael
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: t.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20120124/2c7d1891/attachment.ksh>
More information about the Gcc-patches
mailing list