Ticket #5374: patch

File patch, 1.5 KB (added by Richard <legalize@…>, 11 years ago)

patch to change compiler log message format

  • impl/compiler_log_formatter.ipp

     
    176176            print_prefix( output, entry_data.m_file_name, entry_data.m_line_num );
    177177            if( runtime_config::color_output() )
    178178                output << setcolor( term_attr::BRIGHT, term_color::YELLOW );
    179             output << "warning in \"" << test_phase_identifier() << "\": ";
     179            output << "warning: in \"" << test_phase_identifier() << "\": ";
    180180            break;
    181181        case BOOST_UTL_ET_ERROR:
    182182            print_prefix( output, entry_data.m_file_name, entry_data.m_line_num );
    183183            if( runtime_config::color_output() )
    184184                output << setcolor( term_attr::BRIGHT, term_color::RED );
    185             output << "error in \"" << test_phase_identifier() << "\": ";
     185            output << "error: in \"" << test_phase_identifier() << "\": ";
    186186            break;
    187187        case BOOST_UTL_ET_FATAL_ERROR:
    188188            print_prefix( output, entry_data.m_file_name, entry_data.m_line_num );
    189189            if( runtime_config::color_output() )
    190190                output << setcolor( term_attr::BLINK, term_color::RED );
    191             output << "fatal error in \"" << test_phase_identifier() << "\": ";
     191            output << "fatal error: in \"" << test_phase_identifier() << "\": ";
    192192            break;
    193193    }
    194194}