Changeset 145

Show
Ignore:
Timestamp:
03/12/09 16:50:19 (15 years ago)
Author:
bhilburn
Message:

Adding a error reporting functions to a new header, error.h.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • vtcross/branches/bhilburn/src/include/vtcross/error.h

    r139 r145  
    1212 
    1313#include <iostream> 
    14 #include <string> 
    1514 
    16 void ERROR(int exit_code, std::string msg) 
     15void ERROR(int exit_code, char* msg) 
    1716{ 
    1817    std::cerr << msg << std::endl; 
     
    2019} 
    2120 
    22 void WARNING(std::string msg) 
     21void WARNING(char* msg) 
    2322{ 
    2423    std::cerr << msg << std::endl;