Changeset 12099 for trunk/FACT++


Ignore:
Timestamp:
09/14/11 10:19:04 (13 years ago)
Author:
tbretz
Message:
Removed a compiler warning
File:
1 edited

Legend:

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

    r12060 r12099  
    105105    bool Dump(const string &, const vector<string> &list, int);
    106106    ///Display the selected columns values VS time
     107#ifdef PLOTTING_PLEASE
    107108    int doCurvesDisplay( const vector<string> &list, const string& tableName);
    108 //    bool Plot(const vector<string> &list);
     109#endif
     110    //    bool Plot(const vector<string> &list);
    109111
    110112public:
     
    774776    }
    775777
     778#ifdef PLOTTING_PLEASE
    776779    if (conf.Get<bool>("graph"))
    777780    {
     
    785788        return 1;
    786789    }
    787 
     790#endif
    788791
    789792    if (conf.Get<bool>("header"))
     
    10261029    return 0;
    10271030}
    1028 #else
    1029 int FitsDumper::doCurvesDisplay( const vector<string> &list, const string& tableName)
    1030 {
    1031     cerr << "Sorry, but plotting features seem to have been disabled at compilation time." << endl;
    1032     cerr << "Please recompile with PLOTTING_PLEASE defined and try again." << endl;
    1033     return 0;
    1034 }
    10351031#endif
     1032
    10361033void SetupConfiguration(Configuration& conf)
    10371034{
     
    10531050        ("list,l",      po_switch(),                "List all tables and columns in file")
    10541051        ("header,h",    po_switch(),                "Dump header of given table")
    1055         ("graph,g",      po_switch(),                "Plot the columns instead of dumping them")
     1052#ifdef PLOTTING_PLEASE
     1053        ("graph,g",     po_switch(),                "Plot the columns instead of dumping them")
     1054#endif
    10561055        ;
    10571056
Note: See TracChangeset for help on using the changeset viewer.