PC-lint for C/C++ (NT) Vers. 8.00u, Copyright Gimpel Software 1985-2006
--- Module: testpp.cpp (C++)
testpp.cpp 3 error [Error 40] Undeclared identifier 'Int'
testpp.cpp 3 error [Warning 522] Expected void type, assignment, increment or decrement
testpp.cpp 3 error [Error 10] Expecting ';'
testpp.cpp 8 error [Error 40] Undeclared identifier 'x'
testpp.cpp 8 error [Error 1055] Symbol 'scanf' undeclared, assumed to return int
testpp.cpp 8 error [Info 746] call to function 'scanf()' not made in the presence of a prototype
testpp.cpp 8 error [Error 40] Undeclared identifier 'x'
testpp.cpp 9 error [Error 10] Expecting ';'
testpp.cpp 11 error [Warning 533] function 'main(void)' should return a value (see line 1)
testpp.cpp 11 error [Warning 529] Symbol 'x1' (line 4) not subsequently referenced
testpp.cpp 11 error [Warning 529] Symbol 'x2' (line 5) not subsequently referenced
testpp.cpp 11 error [Warning 529] Symbol 'x3' (line 6) not subsequently referenced
testpp.cpp 11 error [Warning 529] Symbol 'x4' (line 7) not subsequently referenced
--- Global Wrap-up
testpp.cpp 8 error [Warning 526] Symbol 'scanf()' (line 8, file testpp.cpp) not defined
testpp.cpp 8 error [Warning 628] no argument information provided for function 'scanf()' (line 8, file testpp.cpp)
Outputting to file testpp.lob
c:\progra~1\borland\bcc55\bin\bcc32 -c @MAKE0004.@@@
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
testpp.cpp:
Error E2451 testpp.cpp 3: Undefined symbol 'Int' in function main()
Error E2379 testpp.cpp 3: Statement missing ; in function main()
Error E2268 testpp.cpp 8: Call to undefined function 'scanf' in function main()
Error E2451 testpp.cpp 8: Undefined symbol 'x' in function main()
Error E2379 testpp.cpp 9: Statement missing ; in function main()
Warning W8004 testpp.cpp 11: 'x4' is assigned a value that is never used in function main()
Warning W8004 testpp.cpp 11: 'x3' is assigned a value that is never used in function main()
Warning W8004 testpp.cpp 11: 'x2' is assigned a value that is never used in function main()
Warning W8004 testpp.cpp 11: 'x1' is assigned a value that is never used in function main()
*** 5 errors in Compile ***