W8086 Incorrect use of #pragma alias "aliasName"="substituteName" (C++)

From RAD Studio
Jump to: navigation, search

Go Up to Compiler Errors And Warnings (C++) Index


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:

#pragma alias foo=bar
#pragma alias "foo" = bar

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

See Also