[so2] [Tema1]Win] Warning-uri la output

IonuĊ£-Ciprian BALIGI ionut.baligi at cti.pub.ro
Sat Aug 31 13:21:36 EEST 2013


Salut,

La rulare unora dintr teste imi apare urmatorul set de warning-uri  dupa care imi intra in bluescreen:

test.c
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ntstatus.h(136) : warning C4005: 'STATUS_WAIT_0' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(1721) : see previous definition of 'STATUS_WAIT_0'
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ntstatus.h(188) : warning C4005: 'STATUS_ABANDONED_WAIT_0' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(1722) : see previous definition of 'STATUS_ABANDONED_WAIT_0'
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ntstatus.h(211) : warning C4005: 'STATUS_USER_APC' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(1723) : see previous definition of 'STATUS_USER_APC'
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ntstatus.h(238) : warning C4005: 'STATUS_TIMEOUT' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(1724) : see previous definition of 'STATUS_TIMEOUT'
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ntstatus.h(247) : warning C4005: 'STATUS_PENDING' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(1725) : see previous definition of 'STATUS_PENDING'
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ntstatus.h(569) : warning C4005: 'DBG_EXCEPTION_HANDLED' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(1726) : see previous definition of 'DBG_EXCEPTION_HANDLED'
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ntstatus.h(578) : warning C4005: 'DBG_CONTINUE' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(1727) : see previous definition of 'DBG_CONTINUE'
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ntstatus.h(655) : warning C4005: 'STATUS_SEGMENT_NOTIFICATION' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(1728) : see previous definition of 'STATUS_SEGMENT_NOTIFICATION'
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ntstatus.h(1132) : warning C4005: 'DBG_TERMINATE_THREAD' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(1729) : see previous definition of 'DBG_TERMINATE_THREAD'
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ntstatus.h(1141) : warning C4005: 'DBG_TERMINATE_PROCESS' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(1730) : see previous definition of 'DBG_TERMINATE_PROCESS'
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ntstatus.h(1150) : warning C4005: 'DBG_CONTROL_C' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(1731) : see previous definition of 'DBG_CONTROL_C'
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ntstatus.h(1177) : warning C4005: 'DBG_CONTROL_BREAK' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(1732) : see previous definition of 'DBG_CONTROL_BREAK'
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ntstatus.h(1186) : warning C4005: 'DBG_COMMAND_EXCEPTION' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(1733) : see previous definition of 'DBG_COMMAND_EXCEPTION'
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ntstatus.h(1219) : warning C4005: 'STATUS_GUARD_PAGE_VIOLATION' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(1734) : see previous definition of 'STATUS_GUARD_PAGE_VIOLATION'
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ntstatus.h(1230) : warning C4005: 'STATUS_DATATYPE_MISALIGNMENT' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(1735) : see previous definition of 'STATUS_DATATYPE_MISALIGNMENT'
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ntstatus.h(1241) : warning C4005: 'STATUS_BREAKPOINT' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(1736) : see previous definition of 'STATUS_BREAKPOINT'
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ntstatus.h(1252) : warning C4005: 'STATUS_SINGLE_STEP' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(1737) : see previous definition of 'STATUS_SINGLE_STEP'
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ntstatus.h(1632) : warning C4005: 'DBG_EXCEPTION_NOT_HANDLED' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(1738) : see previous definition of 'DBG_EXCEPTION_NOT_HANDLED'
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ntstatus.h(1742) : warning C4005: 'STATUS_ACCESS_VIOLATION' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(1739) : see previous definition of 'STATUS_ACCESS_VIOLATION'
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ntstatus.h(1751) : warning C4005: 'STATUS_IN_PAGE_ERROR' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(1740) : see previous definition of 'STATUS_IN_PAGE_ERROR'
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ntstatus.h(1769) : warning C4005: 'STATUS_INVALID_HANDLE' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(1741) : see previous definition of 'STATUS_INVALID_HANDLE'
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ntstatus.h(1914) : warning C4005: 'STATUS_NO_MEMORY' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(1742) : see previous definition of 'STATUS_NO_MEMORY'
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ntstatus.h(1971) : warning C4005: 'STATUS_ILLEGAL_INSTRUCTION' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(1743) : see previous definition of 'STATUS_ILLEGAL_INSTRUCTION'
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ntstatus.h(2052) : warning C4005: 'STATUS_NONCONTINUABLE_EXCEPTION' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(1744) : see previous definition of 'STATUS_NONCONTINUABLE_EXCEPTION'
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ntstatus.h(2061) : warning C4005: 'STATUS_INVALID_DISPOSITION' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(1745) : see previous definition of 'STATUS_INVALID_DISPOSITION'
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ntstatus.h(2986) : warning C4005: 'STATUS_ARRAY_BOUNDS_EXCEEDED' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(1746) : see previous definition of 'STATUS_ARRAY_BOUNDS_EXCEEDED'
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ntstatus.h(2996) : warning C4005: 'STATUS_FLOAT_DENORMAL_OPERAND' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(1747) : see previous definition of 'STATUS_FLOAT_DENORMAL_OPERAND'
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ntstatus.h(3006) : warning C4005: 'STATUS_FLOAT_DIVIDE_BY_ZERO' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(1748) : see previous definition of 'STATUS_FLOAT_DIVIDE_BY_ZERO'
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ntstatus.h(3016) : warning C4005: 'STATUS_FLOAT_INEXACT_RESULT' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(1749) : see previous definition of 'STATUS_FLOAT_INEXACT_RESULT'
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ntstatus.h(3026) : warning C4005: 'STATUS_FLOAT_INVALID_OPERATION' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(1750) : see previous definition of 'STATUS_FLOAT_INVALID_OPERATION'
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ntstatus.h(3036) : warning C4005: 'STATUS_FLOAT_OVERFLOW' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(1751) : see previous definition of 'STATUS_FLOAT_OVERFLOW'
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ntstatus.h(3046) : warning C4005: 'STATUS_FLOAT_STACK_CHECK' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(1752) : see previous definition of 'STATUS_FLOAT_STACK_CHECK'
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ntstatus.h(3056) : warning C4005: 'STATUS_FLOAT_UNDERFLOW' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(1753) : see previous definition of 'STATUS_FLOAT_UNDERFLOW'
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ntstatus.h(3066) : warning C4005: 'STATUS_INTEGER_DIVIDE_BY_ZERO' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(1754) : see previous definition of 'STATUS_INTEGER_DIVIDE_BY_ZERO'
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ntstatus.h(3076) : warning C4005: 'STATUS_INTEGER_OVERFLOW' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(1755) : see previous definition of 'STATUS_INTEGER_OVERFLOW'
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ntstatus.h(3086) : warning C4005: 'STATUS_PRIVILEGED_INSTRUCTION' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(1756) : see previous definition of 'STATUS_PRIVILEGED_INSTRUCTION'
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ntstatus.h(4039) : warning C4005: 'STATUS_STACK_OVERFLOW' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(1757) : see previous definition of 'STATUS_STACK_OVERFLOW'
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ntstatus.h(4612) : warning C4005: 'STATUS_CONTROL_C_EXIT' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(1758) : see previous definition of 'STATUS_CONTROL_C_EXIT'
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ntstatus.h(7038) : warning C4005: 'STATUS_FLOAT_MULTIPLE_FAULTS' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(1759) : see previous definition of 'STATUS_FLOAT_MULTIPLE_FAULTS'
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ntstatus.h(7048) : warning C4005: 'STATUS_FLOAT_MULTIPLE_TRAPS' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(1760) : see previous definition of 'STATUS_FLOAT_MULTIPLE_TRAPS'
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ntstatus.h(7172) : warning C4005: 'STATUS_REG_NAT_CONSUMPTION' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(1761) : see previous definition of 'STATUS_REG_NAT_CONSUMPTION'
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ntstatus.h(11606) : warning C4005: 'STATUS_SXS_EARLY_DEACTIVATION' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(1763) : see previous definition of 'STATUS_SXS_EARLY_DEACTIVATION'
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ntstatus.h(11615) : warning C4005: 'STATUS_SXS_INVALID_DEACTIVATION' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(1764) : see previous definition of 'STATUS_SXS_INVALID_DEACTIVATION'
_test/test.c(188) : warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\stdio.h(366) : see declaration of 'sprintf'
_test/test.c(232) : warning C4013: 'time' undefined; assuming extern returning int

Am incercat sa gasesc ceva pe google dar nu am gasit nimic concludent.  Stiti c ear putea cauza asta ?

Si cred ca este o problema pe vmchecker, deoarece aseara am uploadat tema asta pentru verificare si de atunci este in coada de asteptare.

Multumesc,
Ciprian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so2/attachments/20130831/19c6fc93/attachment-0001.html>


More information about the so2 mailing list