Build Log

--------------------Configuration: ProtectedAccess - Win32 Debug--------------------

Command Lines

Creating temporary file "C:\WINNT\Profiles\Kip\LOCALS~1\Temp\RSPDA.tmp" with contents [ /nologo /MLd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /Fp"Debug/ProtectedAccess.pch" /YX /Fo"Debug/" /Fd"Debug/" /FD /GZ /c "G:\Data\Kip\Classes\current\cop3337\Lectures\ch14\Motors\ProtectedAccess\ElectricMotor.cpp" "G:\Data\Kip\Classes\current\cop3337\Lectures\ch14\Motors\ProtectedAccess\motorTest.cpp" ] Creating command line "cl.exe @C:\WINNT\Profiles\Kip\LOCALS~1\Temp\RSPDA.tmp" Creating temporary file "C:\WINNT\Profiles\Kip\LOCALS~1\Temp\RSPDB.tmp" with contents [ kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /incremental:yes /pdb:"Debug/ProtectedAccess.pdb" /debug /machine:I386 /out:"Debug/ProtectedAccess.exe" /pdbtype:sept .\Debug\ElectricMotor.obj .\Debug\motor.obj .\Debug\motorTest.obj ] Creating command line "link.exe @C:\WINNT\Profiles\Kip\LOCALS~1\Temp\RSPDB.tmp"

Output Window

Compiling... ElectricMotor.cpp motorTest.cpp g:\data\kip\classes\current\cop3337\lectures\ch14\motors\protectedaccess\motortest.cpp(16) : error C2248: 'set_ID' : cannot access public member declared in class 'CMotor' g:\data\kip\classes\current\cop3337\lectures\ch14\motors\protectedaccess\motor.h(13) : see declaration of 'set_ID' Error executing cl.exe.

Results

ProtectedAccess.exe - 1 error(s), 0 warning(s)