[Openmp-commits] [PATCH] D51219: [OpenMP] Add missing header. va_start, va_end undeclared in gcc 5.5.0

Xin Tong via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Fri Aug 24 08:25:28 PDT 2018


trentxintong created this revision.
trentxintong added a reviewer: AlexEichenberger.
Herald added subscribers: openmp-commits, guansong.

Add missing header. va_start, va_end undeclared in gcc 5.5.0


Repository:
  rOMP OpenMP

https://reviews.llvm.org/D51219

Files:
  libomptarget/src/omptarget.cpp


Index: libomptarget/src/omptarget.cpp
===================================================================
--- libomptarget/src/omptarget.cpp
+++ libomptarget/src/omptarget.cpp
@@ -21,6 +21,7 @@
 #include <cassert>
 #include <vector>
 #include <mutex>
+#include <cstdarg> // va_start, va_end
 
 #ifdef OMPTARGET_DEBUG
 int DebugLevel = 0;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51219.162386.patch
Type: text/x-patch
Size: 338 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20180824/6f401ad2/attachment.bin>


More information about the Openmp-commits mailing list