http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50365
--- Comment #1 from Jack Howarth <howarth at nitro dot med.uc.edu> 2011-09-12 13:32:16 UTC --- Bzip2 compressed preprocessed source file for common/xplorSimulation.cc attached to reproduce the failure with... [MacPro:~/xplor-nih-2.27/common/bin.Darwin_11_x86_64] howarth% g++-fsf-4.7 -c xplorSimulation.ii -O3 -ffast-math -funroll-loops -g -fpermissive -DX_MMAP_FLAGS=0 -DFORTRAN_INIT -fno-common -DDARWIN -D_REENTRANT -DNDEBUG -DCPLUSPLUS -DUSE_CDS_NAMESPACE xplorSimulation.cc: In constructor ‘XplorSimulation::XplorSimulation(bool)’: xplorSimulation.cc:53:26: error: cannot call member function ‘XplorVars* XplorSimulation::xplorVars()’ without object /Users/howarth/xplor-nih-2.27/common/xplorSimulation.hh:138:7: error: invalid use of non-static data member ‘XplorSimulation::scriptingIndex_’ xplorSimulation.cc:54:6: error: from this location /Users/howarth/xplor-nih-2.27/common/xplorSimulation.hh:138:7: error: invalid use of non-static data member ‘XplorSimulation::scriptingIndex_’ xplorSimulation.cc:56:7: error: from this location