Changeset 68e8dd in git


Ignore:
Timestamp:
Jun 2, 2014, 10:41:42 AM (9 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
0f386781c2909514923b96a3a3e8387f1af5ec9cd1df8403f1e5f64fed914d1e5be781a8fe2f763e
Parents:
29cbfc58717330e765f1af9ef017a028621f797a
Message:
better error message while loading dynamic modules
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/iplib.cc

    r29cbfc r68e8dd  
    717717
    718718
    719 extern "C" 
     719extern "C"
    720720{
    721721#  define SI_GET_BUILTIN_MOD_INIT0(name) int SI_MOD_INIT0(name)(SModulFunctions*);
     
    11051105      else            sModulFunctions.iiAddCproc = iiAddCproc;
    11061106      (*fktn)(&sModulFunctions);
    1107     }
    1108     else Werror("mod_init: %s\n", dynl_error());
    1109     if (BVERBOSE(V_LOAD_LIB)) Print( "// ** loaded %s \n", fullname);
    1110     currPack->loaded=1;
    1111     currPack=s;
    1112   }
    1113   RET=FALSE;
     1107      if (BVERBOSE(V_LOAD_LIB)) Print( "// ** loaded %s \n", fullname);
     1108      currPack->loaded=1;
     1109      currPack=s;
     1110      RET=FALSE;
     1111    }
     1112    else Werror("mod_init not found:: %s\nThis is probably not a dynamic module for Singular!\n", dynl_error());
     1113  }
    11141114
    11151115  load_modules_end:
Note: See TracChangeset for help on using the changeset viewer.