Kaydet (Commit) 7f01a960 authored tarafından Andrzej Hunt's avatar Andrzej Hunt

fix "Wrap opencl-only functions in appropriate ifdef."

06287185
(loplugin:unreffun fix) caused:
  'undefined reference to `sc::FormulaGroupInterpreter::msInstance'
when building with --disable-opencl.

(It appears I didn't check whether my build had fully completed before pushing.)

Change-Id: I948205867985c7722662d673e95d5639bc9d9bcc
üst bc4c2098
...@@ -532,10 +532,12 @@ typedef void (*__fillOpenCLInfo)(OpenclPlatformInfo*, size_t); ...@@ -532,10 +532,12 @@ typedef void (*__fillOpenCLInfo)(OpenclPlatformInfo*, size_t);
typedef bool (*__switchOpenClDevice)(const OUString*, bool, bool); typedef bool (*__switchOpenClDevice)(const OUString*, bool, bool);
typedef void (*__getOpenCLDeviceInfo)(size_t*, size_t*); typedef void (*__getOpenCLDeviceInfo)(size_t*, size_t*);
#endif
#endif #endif
FormulaGroupInterpreter *FormulaGroupInterpreter::msInstance = NULL; FormulaGroupInterpreter *FormulaGroupInterpreter::msInstance = NULL;
#if HAVE_FEATURE_OPENCL
#ifndef DISABLE_DYNLOADING #ifndef DISABLE_DYNLOADING
osl::Module* getOpenCLModule() osl::Module* getOpenCLModule()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment