[Openmp-commits] [PATCH] D50522: [OpenMP][libomptarget] Bringing up to spec with respect to OMP_TARGET_OFFLOAD env var

Mike Rice via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Aug 27 10:44:07 PDT 2018


mikerice added inline comments.


================
Comment at: libomptarget/src/omptarget.cpp:37
+  va_list args;
+  va_start(args, fmt);
+  LibomptargetPrintMtx.lock();
----------------
Anyone else having trouble building after this change?

.../llvm/projects/openmp/libomptarget/src/omptarget.cpp:37:21: error: 'va_start' was not declared in this scope
   va_start(args, fmt);
                     ^
.../llvm/projects/openmp/libomptarget/src/omptarget.cpp:43:14: error: 'va_end' was not declared in this scope
   va_end(args);
              ^
It seems my environment would really like a stdarg.h in this file.


Repository:
  rOMP OpenMP

https://reviews.llvm.org/D50522





More information about the Openmp-commits mailing list