forked from boostorg/bind
Pathscale-4.0 configuration code/workarounds.
[SVN r68142]
This commit is contained in:
@@ -33,6 +33,12 @@
|
|||||||
|
|
||||||
struct X
|
struct X
|
||||||
{
|
{
|
||||||
|
// SGI-related compilers have odd compiler-synthesized ctors dtors
|
||||||
|
#ifdef __PATHSCALE__
|
||||||
|
X() {}
|
||||||
|
~X() {}
|
||||||
|
#endif
|
||||||
|
|
||||||
int operator()()
|
int operator()()
|
||||||
{
|
{
|
||||||
return 17041;
|
return 17041;
|
||||||
|
@@ -43,6 +43,11 @@ public:
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// SGI-related compilers have odd compiler-synthesized ctors and dtors
|
||||||
|
#ifdef __PATHSCALE__
|
||||||
|
~X() {}
|
||||||
|
#endif
|
||||||
|
|
||||||
int state() const
|
int state() const
|
||||||
{
|
{
|
||||||
return state_;
|
return state_;
|
||||||
|
Reference in New Issue
Block a user