RAD Studio
ContentsIndex
PreviousUpNext
W8053: 'ident' is obsolete (C++)

(Command-line option to suppress warning: -w-obs) 

Issues a warning upon usage for any "C" linkage function that has been specified. This will warn about functions that are "obsolete". 

Here's an example of it's usage:

#ifdef __cplusplus
extern "C" {
#endif
void my_func(void);
#ifdef __cplusplus
}
#endif
#pragma obsolete my_func
main()
{
my_func();   // Generates warning about obsolete function
}
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!