RAD Studio
ContentsIndex
PreviousUpNext
W8086: Incorrect use of #pragma alias "aliasName"="substituteName"

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.

#pragma alias

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!