Changeset 2260

Show
Ignore:
Timestamp:
09/14/05 18:06:41 (5 years ago)
Author:
plasmahh
Message:

no boost errors

Location:
trunk/core
Files:
6 modified

Legend:

Unmodified
Added
Removed
  • trunk/core/include/conditional.h

    • Property cvs2svn:cvs-rev changed from 1.4 to 1.5
    r2198 r2260  
    3030#endif 
    3131 
     32extern "C" { 
    3233#ifndef HAVE_CLOCK_GETTIME 
    33 extern "C" { 
    3434#include <iwear/clock_gettime.h> 
     35#endif 
     36#include <unistd.h> 
     37#include <errno.h> 
    3538} 
    36 #endif 
    3739 
    3840#include <cmath> 
     
    122124/** 
    123125 * $Log$ 
     126 * Revision 1.5  2005/09/14 16:06:41  plasmahh 
     127 * no boost errors 
     128 * 
    124129 * Revision 1.4  2005/08/10 21:57:23  plasmahh 
    125130 * changed all include guards to include directory to not clash with other libraries... work to do :) 
  • trunk/core/include/exceptions.h

    • Property cvs2svn:cvs-rev changed from 1.46 to 1.47
    r2250 r2260  
    517517        : chained_error(wht,ce), chan(ch),err(er) { } 
    518518    virtual ~protocol_error() throw () { } 
     519 
     520    virtual void output_additional( ostream& o ) const 
     521    { 
     522        o << ANSI_BLUE << "Occured on Channel: " << ANSI_GREEN << chan << endl; 
     523        o << ANSI_BLUE << "Error Code: " << ANSI_CYAN << err << endl; 
     524    } 
     525}; 
     526 
     527class remote_error: public iwruntime_error 
     528{ 
     529public: 
     530    explicit remote_error( const string& wht ) : iwruntime_error(wht) { } 
     531    virtual ~remote_error() throw() { } 
    519532}; 
    520533 
     
    631644/** 
    632645 * $Log$ 
     646 * Revision 1.47  2005/09/14 16:06:41  plasmahh 
     647 * no boost errors 
     648 * 
    633649 * Revision 1.46  2005/09/13 16:17:01  plasmahh 
    634650 * added mutex timeouts 
  • trunk/core/include/socketset.h

    • Property cvs2svn:cvs-rev changed from 1.4 to 1.5
    r2198 r2260  
    5959    void remove( const SocketConnection& ); 
    6060 
     61    map<int,SocketConnection*>::size_type size( void ) { return fdmap.size(); } 
     62 
    6163    /** 
    6264     * This returns a vector consisting of all the SocketConnections that are 
     
    7375/** 
    7476 * $Log$ 
     77 * Revision 1.5  2005/09/14 16:06:41  plasmahh 
     78 * no boost errors 
     79 * 
    7580 * Revision 1.4  2005/08/10 21:57:23  plasmahh 
    7681 * changed all include guards to include directory to not clash with other libraries... work to do :) 
  • trunk/core/include/utility.h

    • Property cvs2svn:cvs-rev changed from 1.55 to 1.56
    r2231 r2260  
    186186                     : 8) : 7) : 6) : 5) : 4) : 3) : 2) : 1) : 0) 
    187187 
    188 #define P1 /** This has passed Phase 1 check */  
    189 #define P2 /** This has passed Phase 2 check */  
    190 #define P3 /** This has passed Phase 3 check */  
    191 #define P4 /** This has passed Phase 4 check */  
    192 #define P5 /** This has passed Phase 5 check */  
    193 #define P6 /** This has passed Phase 6 check */  
     188#define PH1 /** This has passed Phase 1 check */  
     189#define PH2 /** This has passed Phase 2 check */  
     190#define PH3 /** This has passed Phase 3 check */  
     191#define PH4 /** This has passed Phase 4 check */  
     192#define PH5 /** This has passed Phase 5 check */  
     193#define PH6 /** This has passed Phase 6 check */  
    194194 
    195195#define P1CLEAR BuildPhase::check(1); 
     
    520520/** 
    521521 * $Log$ 
     522 * Revision 1.56  2005/09/14 16:06:41  plasmahh 
     523 * no boost errors 
     524 * 
    522525 * Revision 1.55  2005/09/08 19:55:13  plasmahh 
    523526 * buildphase debug stuff adde 
  • trunk/core/src/exceptions.cpp

    • Property cvs2svn:cvs-rev changed from 1.3 to 1.4
    r2250 r2260  
    7777    backt = bs.str(); 
    7878 
    79     backt += iwexception::backtrace(); 
     79//    backt += iwexception::backtrace(); 
    8080} 
    8181 
  • trunk/core/src/socketset.cpp

    • Property cvs2svn:cvs-rev changed from 1.5 to 1.6
    r2250 r2260  
    126126            } 
    127127        case 0: 
    128             d_dbg << "ret contains " << ret.size()  << " entries " << endl; 
     128//          d_dbg << "ret contains " << ret.size()  << " entries " << endl; 
    129129            return ret; 
    130130    } 
     
    135135/** 
    136136 * $Log$ 
     137 * Revision 1.6  2005/09/14 16:06:41  plasmahh 
     138 * no boost errors 
     139 * 
    137140 * Revision 1.5  2005/09/13 16:17:01  plasmahh 
    138141 * added mutex timeouts