build error: okra_library_name
Michael Haupt
michael.haupt at oracle.com
Thu Jan 30 01:53:27 PST 2014
Hi,
this is on Mac OS X:
-----
.../basic-graal/src/gpu/hsail/vm/gpu_hsail.cpp:148:19: error: array initializer must be an initializer list or string literal
static char const okra_library_name[] = NULL;
-----
The place in question:
-----
#if defined(LINUX)
static const char okra_library_name[] = "libokra_x86_64.so";
#elif defined(_WINDOWS)
static char const okra_library_name[] = "okra_x86_64.dll";
#else
static char const okra_library_name[] = NULL;
#endif
-----
What would be the correct value of the library name for DARWIN? If there isn't supposed to be one (and I can't test this as I don't currently use GPU backends), the compiler is happy with replacing the problematic line with
-----
static char const *okra_library_name = NULL;
-----
Best,
Michael
--
Dr. Michael Haupt | Principal Member of Technical Staff
Phone: +49 331 200 7277 | Fax: +49 331 200 7561
Oracle Labs
Oracle Deutschland B.V. & Co. KG, Schiffbauergasse 14 | 14467 Potsdam, Germany
Oracle is committed to developing practices and products that help protect the environment
More information about the graal-dev
mailing list