RAD Studio
ContentsIndex
PreviousUpNext
E2017: Ambiguous member name 'name' (C++)

Whenever a structure member name is used in inline assembly, such a name must be unique. (If it is defined in more than one structure, all of the definitions must agree as to its type and offset within the structures). In this case, an ambiguous member name has been used. 

For example:

struct A

 

{

 

   int a;

 

   int b;

 

};

 

...

 

asm ax,.a;
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!