From: David Wells Date: Thu, 17 Aug 2017 23:14:13 +0000 (-0400) Subject: Write an '#error' message with a string. X-Git-Tag: v9.0.0-rc1~1201^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6fd71d619b651c8060a8cc8f6a4537bd656a668d;p=dealii.git Write an '#error' message with a string. This looks nicer in my editor. --- diff --git a/source/base/timer.cc b/source/base/timer.cc index ac443cce6b..cb7ed3f849 100644 --- a/source/base/timer.cc +++ b/source/base/timer.cc @@ -126,7 +126,7 @@ void Timer::start () current_lap_starting_wall_time = windows::wall_clock(); current_lap_starting_cpu_time = windows::cpu_clock(); #else -# error Unsupported platform. Porting not finished. +# error "Unsupported platform. Porting not finished." #endif } @@ -154,7 +154,7 @@ double Timer::stop () last_lap_time = windows::wall_clock() - current_lap_starting_wall_time; last_lap_cpu_time = windows::cpu_clock() - current_lap_starting_cpu_time; #else -# error Unsupported platform. Porting not finished. +# error "Unsupported platform. Porting not finished." #endif this->mpi_data = Utilities::MPI::min_max_avg (last_lap_time, @@ -195,7 +195,7 @@ double Timer::cpu_time() const const double running_time = windows::cpu_clock() - current_lap_starting_cpu_time + accumulated_cpu_time; return running_time; #else -# error Unsupported platform. Porting not finished. +# error "Unsupported platform. Porting not finished." #endif } else