Project

General

Profile

Actions

Support Request #2292

closed

Standard-include syntax error

Added by hidden about 6 years ago. Updated almost 6 years ago.

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

Description

Supportanfrage

In adtf-3.3.0-win7_x64_vc140\\pkg\\a_utils\\include\\a_utils\\std\tagged_ptr.h:
wird ein Standard-Header innerhalb eines Namespaces inkludiert.

namespace A_UTILS_NS
{

#ifdef WIN32
    #include <intrin.h>
...
#endif

Dadurch wird u.a. die Funktion _ReturnAdress() "versteckt". Und ein erneutes Inkludieren ohne Namespace verhindert eine Include-Guard.
Bitte namespace und include tauschen:

#ifdef WIN32
...
    #include <intrin.h>
...
#endif

namespace A_UTILS_NS
{

PS: Mit dem Fix kann man dann auch ADTF3-Filter mit dem VisualStudio 2017 kompilieren. (Auch wenn der Compiler offiziel nicht unterstüzt wird.)

Lösung

ACORE-9454 angelegt

Actions #1

Updated by hidden about 6 years ago

  • Topic set to ADTF::Common
Actions #2

Updated by hidden about 6 years ago

  • Status changed from New to In Progress

Das hatten wir doch schon mal, Mist. Workaround ist dass man #include <intrin.h> einmal vor den ADTF headern macht, dann verhindert der Include-Guard weiteres. Hab dafür Ticket ACORE-9454 erstellt.

Actions #3

Updated by hidden about 6 years ago

  • Status changed from In Progress to Customer Feedback Required
  • Resolution set to Product Issue Opened
  • Product Issue Numbers set to https://www.cip.audi.de/jira/browse/ACORE-9454
  • Support Level changed from 2nd Level to 3rd Level
Actions #4

Updated by hidden about 6 years ago

  • Subject changed from Standard-include im namespace to Standard-include syntax error
  • Description updated (diff)
  • Status changed from Customer Feedback Required to To Be Closed
Actions #5

Updated by hidden almost 6 years ago

  • Project changed from 20 to Public Support
  • Private changed from Yes to No
Actions #6

Updated by hidden almost 6 years ago

  • Status changed from To Be Closed to Closed
Actions

Also available in: Atom PDF