From: Daniel Arndt Date: Fri, 8 Jun 2018 10:26:39 +0000 (+0200) Subject: Fix compiling with CUDA X-Git-Tag: v9.1.0-rc1~1057^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=786b4eb00e9ccc5c1fc37494df19c829eaa6bb61;p=dealii.git Fix compiling with CUDA --- diff --git a/include/deal.II/base/exceptions.h b/include/deal.II/base/exceptions.h index a3b06c3549..223819ae3d 100644 --- a/include/deal.II/base/exceptions.h +++ b/include/deal.II/base/exceptions.h @@ -958,7 +958,7 @@ namespace StandardExceptions * The constructor takes a single char*, the output of * cudaGetErrorString. */ - DeclException1(ExcCudaError, char *, << arg1); + DeclException1(ExcCudaError, const char *, << arg1); /** * This exception is raised if an error happened in a cuSPARSE function. */