Project

General

Profile

Actions

Support Request #2292

closed

Standard-include syntax error

Added by hidden about 6 years ago. Updated about 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

Also available in: Atom PDF