diff -ru boost/exception/exception.hpp /opt/local/include/boost/exception/exception.hpp
old
|
new
|
|
310 | 310 | namespace |
311 | 311 | exception_detail |
312 | 312 | { |
| 313 | #if defined(__GNUC__) |
| 314 | # if (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || (__GNUC__ > 4) |
| 315 | # pragma GCC visibility push (default) |
| 316 | # endif |
| 317 | #endif |
313 | 318 | template <class T> |
314 | 319 | struct |
315 | 320 | error_info_injector: |
… |
… |
|
326 | 331 | { |
327 | 332 | } |
328 | 333 | }; |
| 334 | #if defined(__GNUC__) |
| 335 | # if (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || (__GNUC__ > 4) |
| 336 | # pragma GCC visibility pop |
| 337 | # endif |
| 338 | #endif |
329 | 339 | |
330 | 340 | struct large_size { char c[256]; }; |
331 | 341 | large_size dispatch_boost_exception( exception const * ); |
… |
… |
|
373 | 383 | namespace |
374 | 384 | exception_detail |
375 | 385 | { |
| 386 | #if defined(__GNUC__) |
| 387 | # if (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || (__GNUC__ > 4) |
| 388 | # pragma GCC visibility push (default) |
| 389 | # endif |
| 390 | #endif |
376 | 391 | class |
377 | 392 | clone_base |
378 | 393 | { |
… |
… |
|
439 | 454 | throw*this; |
440 | 455 | } |
441 | 456 | }; |
| 457 | #if defined(__GNUC__) |
| 458 | # if (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || (__GNUC__ > 4) |
| 459 | # pragma GCC visibility pop |
| 460 | # endif |
| 461 | #endif |
442 | 462 | } |
443 | 463 | |
444 | 464 | template <class T> |
diff -ru boost/thread/exceptions.hpp /opt/local/include/boost/thread/exceptions.hpp
old
|
new
|
|
21 | 21 | |
22 | 22 | #include <boost/config/abi_prefix.hpp> |
23 | 23 | |
| 24 | #if defined(__GNUC__) |
| 25 | # if (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || (__GNUC__ > 4) |
| 26 | # pragma GCC visibility push (default) |
| 27 | # endif |
| 28 | #endif |
| 29 | |
24 | 30 | namespace boost |
25 | 31 | { |
26 | 32 | |
… |
… |
|
177 | 183 | |
178 | 184 | } // namespace boost |
179 | 185 | |
| 186 | #if defined(__GNUC__) |
| 187 | # if (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || (__GNUC__ > 4) |
| 188 | # pragma GCC visibility pop |
| 189 | # endif |
| 190 | #endif |
| 191 | |
180 | 192 | #include <boost/config/abi_suffix.hpp> |
181 | 193 | |
182 | 194 | #endif |