Changeset 18613 for trunk/FACT++/src


Ignore:
Timestamp:
09/17/16 22:29:33 (8 years ago)
Author:
tbretz
Message:
With gcc 5 it seems N also identifies our strings... this might still require more changes!
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/Converter.cc

    r16959 r18613  
    966966           break;
    967967
    968        if (type=='S')
     968       if (type=='S' || type=='N')
    969969       {
    970970           const string str(charSrc);
     
    10611061         case 'v':
    10621062         case 'S': //we skip the variable length strings
     1063         case 'N':
    10631064             continue;
    10641065
    10651066         default:
    1066              throw runtime_error("GetFitsFormat - unknown FITS format.");
     1067             throw runtime_error(string("GetFitsFormat - unknown FITS format [")+it->first.first->name()[0]+"]");
    10671068         };
    10681069
Note: See TracChangeset for help on using the changeset viewer.