File: clang-gcc14-workaround.patch

package info (click to toggle)
aspectc++ 1:2.2+git20181008-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 18,704 kB
  • sloc: cpp: 110,629; ansic: 7,644; sh: 2,192; makefile: 1,317; pascal: 634; python: 402; xml: 349
file content (13 lines) | stat: -rw-r--r-- 536 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/Puma/src/weave.mk b/Puma/src/weave.mk
index a2b1ebd..8b6527c 100644
--- a/Puma/src/weave.mk
+++ b/Puma/src/weave.mk
@@ -25,6 +25,8 @@ ACFLAGS   += $(addprefix -a , $(ACFILES))
 #ACFLAGS   += $(CPPFLAGS) -I $(STEP1)/src -r $(GENDIR)/puma.acp
 ACFLAGS   += $(CPPFLAGS) -I $(STEP1)/src
 ACFLAGS   += --config $(CONFIG) --gen_size_type __SIZE_TYPE__ -k
+# workaround Clang/GCC C++14 issues
+ACFLAGS   += -D "__cplusplus=199711L"
 
 DEPDIR    := $(STEP1)/dep
 DEPFILES  := $(addprefix $(DEPDIR)/, $(notdir $(ACOBJECTS:.cc=.d)))