Project

General

Profile

Actions

Support Request #17332

closed

Wrong using directive for cDDLHeader

Added by hidden almost 2 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Customer:
CARIAD
Department:
T3
Requester's Priority:
Normal
Support Level:
3rd Level
Resolution:
Product Issue Opened
Affected Products:
Platform:
Windows 10 64bit
Topic:
ADTF::DDL
FAQ Links:

Description

Supportanfrage

Workaround:

C:\dev\swb-mod-filtersystemcheckwatchdog\src>git diff
diff --git a/src/FilterSystemCheckWatchdog.cpp b/src/FilterSystemCheckWatchdog.cpp
index 068a111..5245f72 100644
--- a/src/FilterSystemCheckWatchdog.cpp
+++ b/src/FilterSystemCheckWatchdog.cpp
@ -317,7 +317,11 @ tResult systemcheckwatchdog::AddItem(ddl::cDDLDescription* pDesc, ddl::cDDLCompl

tResult systemcheckwatchdog::CalcOutputStructDefinition(const tChar* strIdentifier, adtf::base::IString&& strDefinition, tSize& szSample) {
#if (ADTF_VERSION < 0x030E) // < ADTF 3.14^M
ddl::cDDLHeader* pHeader = new ddl::cDDLHeader();
#else^M
+ adtf_ddl::cDDLHeader* pHeader = new adtf_ddl::cDDLHeader();^M
+#endif^M
pHeader->SetAuthor("Conan");
pHeader->SetDescription("Conan Generated");
pHeader->SetLanguageVersion(4.00);

Lösung

Bug Ticket:
  • [ACORE-11511] - Wrong using directive for cDDLHeader

Files

image001.png (82.2 KB) image001.png hidden, 2022-04-26 05:15
pkg_ddl.h (136 Bytes) pkg_ddl.h hidden, 2022-04-26 12:07
pkg_ddl.h (3.82 KB) pkg_ddl.h hidden, 2022-04-26 12:08
Actions

Also available in: Atom PDF