/[escript]/branches/subworld2/escriptcore/src/DataExpanded.cpp
ViewVC logotype

Diff of /branches/subworld2/escriptcore/src/DataExpanded.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4531 by jfenwick, Mon Nov 4 02:09:05 2013 UTC revision 4571 by sshaw, Fri Dec 6 02:47:14 2013 UTC
# Line 40  using namespace escript::DataTypes; Line 40  using namespace escript::DataTypes;
40    
41  // #define CHECK_FOR_EX_WRITE if (!checkNoSharing()) {throw DataException("Attempt to modify shared object");}  // #define CHECK_FOR_EX_WRITE if (!checkNoSharing()) {throw DataException("Attempt to modify shared object");}
42    
43  #define CHECK_FOR_EX_WRITE if (!checkNoSharing()) {std::ostringstream ss; ss << " Attempt to modify shared object. line " << __LINE__ << " of " << __FILE__; *((int*)0)=17;throw DataException(ss.str());}  #define CHECK_FOR_EX_WRITE if (!checkNoSharing()) {std::ostringstream ss; ss << " Attempt to modify shared object. line " << __LINE__ << " of " << __FILE__; abort();throw DataException(ss.str());}
44    
45  namespace escript {  namespace escript {
46    

Legend:
Removed from v.4531  
changed lines
  Added in v.4571

  ViewVC Help
Powered by ViewVC 1.1.26