[previous] 0648 [next] [S] Unexpected '{' encountered at file scope.
Syntax errors

A '{' has been found without a preceding function header. This may be caused by a ';' after the declaration. For example:


/*PRQA S 553,2017,3210,3408 ++*/

int foo(int x);
{                        /* Message 0648 ... ';' probably included by mistake */
    return 1;
}

QA·C Source Code Analyser 8.1.2
© 2013 Programming Research.
www.programmingresearch.com
Personality Groups | Glossary | Message Index Contents