From 4c85e3b0e4aadc9c076c243d430e9b96f5261c75 Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Fri, 3 Jun 2016 10:21:50 -0400 Subject: [PATCH] Use String instead of ASCIIString in auto-generated code --- deps/gen_functions.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/deps/gen_functions.c b/deps/gen_functions.c index 17e7e1b87..1b308c781 100644 --- a/deps/gen_functions.c +++ b/deps/gen_functions.c @@ -11,9 +11,12 @@ typedef int check_sizeof_MPI_Aint[sizeof(MPI_Aint) == sizeof(ptrdiff_t) ? 1 : -1 #define STRING(s) STRING1(s) int main(int argc, char *argv[]) { + printf("using Compat\n"); + printf("import Compat.String\n"); + printf("\n"); printf("const WRAPPER_VERSION = \"%s\"\n", VERSION); printf("\n"); - printf("const _mpi_functions = Dict{Symbol, ASCIIString}(\n"); + printf("const _mpi_functions = Dict{Symbol, String}(\n"); printf(" :MPI_ABORT => \"%s\",\n", STRING(MPI_ABORT)); printf(" :MPI_ALLGATHER => \"%s\",\n", STRING(MPI_ALLGATHER)); printf(" :MPI_ALLGATHERV => \"%s\",\n", STRING(MPI_ALLGATHERV));