Changeset 3572 in Sophya for trunk/SophyaPI/PIext/cxxexecutor.cc
- Timestamp:
- Feb 7, 2009, 10:50:34 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/cxxexecutor.cc
r3551 r3572 394 394 <<endl 395 395 396 #ifdef SANS_EVOLPLANCK397 <<"//---- Peida include files"<<endl398 <<"#include \"toutpeida.h\""<<endl399 #else400 396 // Si on enleve sopnamsp.h (using namespace SOPHYA), il faudra accoler 401 397 // SOPHYA:: à toutes les déclarations automatiques - Reza, 10/09/2004 … … 409 405 <<"#include \"histats.h\""<<endl 410 406 <<endl 411 #endif412 407 413 408 <<"//---- Spiapp include files"<<endl … … 497 492 os<<obtype<<"* "<<stmp 498 493 <<" = dynamic_cast< "<<obtype<<" * >(omg.GetObj(___nomobj));"<<endl; 499 #ifdef SANS_EVOLPLANCK500 os<<"if("<<stmp<<"==NULL) { \n"501 <<" long mExcErr = nullPtrErr; \n"502 <<" cerr << \"CxxExecutor::PutObject: Non existing object "503 <<" ... please update file \\n \" ;"504 <<" throw mExcErr ; \n } "<<endl;505 #else506 494 os<<"if("<<stmp<<"==NULL) throw NullPtrError" 507 495 <<"(\"CxxExecutor::PutObject: Non existing object "<<nobj 508 496 <<"... please update file\");"<<endl; 509 #endif510 497 os<<obtype<<"& "<<nobj<<" = (*"<<stmp<<");"<<endl<<endl; 511 498 } … … 622 609 623 610 int rc; 624 #ifdef SANS_EVOLPLANCK625 CxxCompilerLinker cxx;626 string sophlib = " -lPIE -lm ";627 cxx.AddLinkOptions(sophlib);628 #else629 611 CxxCompilerLinker cxx(true,true,true); 630 #endif631 612 if(TmpDir().size()>0) cxx.SetTmpDir(TmpDir()); 632 613 if(mPrtLevel>0) cxx.SetVerbose(true);
Note:
See TracChangeset
for help on using the changeset viewer.