RAD Studio |  |

W8054: Style of function definition is now obsolete (C++)

(Command-line option to suppress warning = -w-ofp)

In C++, this old C style of function definition is illegal:

Copy Code

    int func(p1, p2) int p1, p2; { /* ... */ }

This practice might not be allowed by other C++ compilers.

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