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

From RAD Studio
Jump to: navigation, search

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

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

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

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

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