Microsoft KB Archive/44063

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 19:23, 12 August 2020 by X010 (talk | contribs) (X010 moved page Microsoft KB Archive/Q44063 to Microsoft KB Archive/44063 without leaving a redirect: Text replacement - "Microsoft KB Archive/Q" to "Microsoft KB Archive/")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

QuickC with /W3 Generates Incorrect Warning PSS ID Number: Q44063 Article last modified on 10-31-1989 PSS database name: S_QuickC

1.00 1.01

MS-DOS

Summary:

When a function is declared as returning void and taking no parameters, QuickC will give the following warning:

warning C4071: ‘Func_A’ : no function prototype given

This warning occurs only when the warning is set to Level 3.

This behavior does not occur with QuickC Versions 2.00 or C 5.10.

More Information:

The following code will demonstrate this problem:

static long seed;

void Func_a(void) { seed=3; }

void Func_b(int New) { seed=New; }

void main(void) { Func_a(); Func_b(2); }

Copyright Microsoft Corporation 1989.