Changeset 27757


Ignore:
Timestamp:
05/16/23 14:41:24 (22 months ago)
Author:
jdquinn
Message:

BUG: Resolved blocking of certain runtime errors under macOS; typos

Location:
issm/trunk-jpl
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/m4/issm_options.m4

    r27735 r27757  
    200200                        export CFLAGS="-Wno-deprecated-register -Wno-return-type"
    201201                        export CXXFLAGS="-Wno-deprecated-register -Wno-return-type"
    202                         if test "${LDFLAGS}" == ""; then
    203                                 export LDFLAGS="-Wl,-no_compact_unwind"
    204                         else
    205                                 export LDFLAGS="${LDFLAGS} -Wl,-no_compact_unwind"
    206                         fi
     202                        dnl NOTE: Commenting out the following, for now, as ISSM seems to
     203                        dnl       compile and run fine, but certain errors (e.g. file not
     204                        dnl       found) were not bubbling up, and instead causing MATLAB
     205                        dnl       to crash.
     206                        dnl
     207#                       if test "${LDFLAGS}" == ""; then
     208#                               export LDFLAGS="-Wl,-no_compact_unwind"
     209#                       else
     210#                               export LDFLAGS="${LDFLAGS} -Wl,-no_compact_unwind"
     211#                       fi
    207212                ;;
    208213                *)
  • issm/trunk-jpl/src/c/modules/QmuStatisticsx/QmuStatisticsx.cpp

    r26468 r27757  
    8585                }
    8686        }
    87         if(found==0)_error_("cound not find " << field << " at step " << step  << "\n");
     87        if(found==0)_error_("could not find " << field << " at step " << step  << "\n");
    8888
    8989        /*assign output pointers:*/
     
    170170                _printf0_("    opening file: " << file << "\n");
    171171                FILE* fid=fopen(file,"rb");
    172                 if(fid==NULL)_error_("cound not open file: " << file << "\n");
     172                if(fid==NULL)_error_("could not open file: " << file << "\n");
    173173
    174174                /*figure out size of file, and read the whole thing:*/
     
    403403                _printf0_("    opening file:\n");
    404404                FILE* fid=fopen(file,"rb");
    405                 if(fid==NULL)_error_("cound not open file: " << file << "\n");
     405                if(fid==NULL)_error_("could not open file: " << file << "\n");
    406406
    407407                /*figure out size of file, and read the whole thing:*/
Note: See TracChangeset for help on using the changeset viewer.