Ignore:
Timestamp:
04/25/24 15:05:23 (2 months ago)
Author:
jderouillat
Message:

Delete boost dependencies, the few features used are replaced by functions stored in extern/boost_extraction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS3/trunk/src/exception.hpp

    r2282 r2629  
    55#include "xios_spl.hpp" 
    66#include "object.hpp" 
     7#include <boost_extract.hpp> 
    78#include <iomanip> 
    89#include <stdexcept> 
     
    5960#define FILE_NAME (std::strrchr("/" __FILE__, '/') + 1) 
    6061 
    61 #define FUNCTION_NAME (StdString(BOOST_CURRENT_FUNCTION).length() > 100 ? \ 
    62                        StdString(BOOST_CURRENT_FUNCTION).substr(0,100).append("...)") : BOOST_CURRENT_FUNCTION) 
     62#define FUNCTION_NAME (StdString(XIOS_CURRENT_FUNCTION).length() > 100 ? \ 
     63                       StdString(XIOS_CURRENT_FUNCTION).substr(0,100).append("...)") : XIOS_CURRENT_FUNCTION) 
    6364 
    6465#define INFO(x) \ 
    65    "In file \""<< FILE_NAME <<"\", function \"" << BOOST_CURRENT_FUNCTION <<"\",  line " << __LINE__ << " -> " x << std::endl; 
     66   "In file \""<< FILE_NAME <<"\", function \"" << XIOS_CURRENT_FUNCTION <<"\",  line " << __LINE__ << " -> " x << std::endl; 
    6667 
    6768#ifdef __XIOS_DEBUG 
Note: See TracChangeset for help on using the changeset viewer.