1
0
forked from boostorg/bind

Pathscale-4.0 configuration code/workarounds.

[SVN r68142]
This commit is contained in:
Bryce Adelstein-Lelbach
2011-01-14 02:59:34 +00:00
parent 3d60d74ff0
commit 27003baf12
2 changed files with 11 additions and 0 deletions

View File

@@ -33,6 +33,12 @@
struct X
{
// SGI-related compilers have odd compiler-synthesized ctors dtors
#ifdef __PATHSCALE__
X() {}
~X() {}
#endif
int operator()()
{
return 17041;

View File

@@ -43,6 +43,11 @@ public:
{
}
// SGI-related compilers have odd compiler-synthesized ctors and dtors
#ifdef __PATHSCALE__
~X() {}
#endif
int state() const
{
return state_;