RAD Studio |  |

W8086: Incorrect use of #pragma alias "aliasName"="substituteName" (C++)
See Also
Collapse All

The directive #pragma alias is used to tell the linker that two identifier names are equivalent. You must put the two names in quotes.

You will receive this warning if you don't use pragma alias correctly. For example, the following two lines both generate this warning:

Copy Code

    #pragma alias foo=bar

Copy Code

    #pragma alias "foo" = bar

See the “#pragma alias” reference below for information on this pragma's usage.

See Also

#pragma

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