[so] Tema1 Win Error

Mirea Bogdan-Stefan b.mirea at yahoo.com
Mon Mar 12 20:35:58 EET 2012


Salut,

De fiecare data cand incerc sa includ windows.h imi da eroarea urmatoare la
compilare. Ce ar trebui sa fac?


C:\Tema1 Windows>nmake -f Makefile

Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation.  All rights reserved.

        cl /nologo /W3 /EHsc /Za /I -D_CRT_SECURE_NO_DEPRECATE /c mini-shellWin.
c

mini-shellWin.c
C:\Program Files\Microsoft SDKs\Windows\v7.0A\include\driverspecs.h(142) : error
 C2008: '$' : unexpected in macro definition
C:\Program Files\Microsoft SDKs\Windows\v7.0A\include\driverspecs.h(294) : error
 C2008: '$' : unexpected in macro definition
C:\Program Files\Microsoft SDKs\Windows\v7.0A\include\driverspecs.h(295) : warni
ng C4005: '__' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v7.0A\include\driverspecs.h(142)
 : see previous definition of '__'
C:\Program Files\Microsoft SDKs\Windows\v7.0A\include\driverspecs.h(308) : error
 C2008: '$' : unexpected in macro definition
C:\Program Files\Microsoft SDKs\Windows\v7.0A\include\driverspecs.h(309) : warni
ng C4005: '__' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v7.0A\include\driverspecs.h(295)
 : see previous definition of '__'
C:\Program Files\Microsoft SDKs\Windows\v7.0A\include\driverspecs.h(312) : error
 C2008: '$' : unexpected in macro definition
C:\Program Files\Microsoft SDKs\Windows\v7.0A\include\driverspecs.h(313) : warni
ng C4005: '__' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v7.0A\include\driverspecs.h(309)
 : see previous definition of '__'
C:\Program Files\Microsoft SDKs\Windows\v7.0A\include\driverspecs.h(316) : error
 C2008: '$' : unexpected in macro definition
C:\Program Files\Microsoft SDKs\Windows\v7.0A\include\driverspecs.h(317) : warni
ng C4005: '__' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v7.0A\include\driverspecs.h(313)
 : see previous definition of '__'
C:\Program Files\Microsoft SDKs\Windows\v7.0A\include\driverspecs.h(320) : error
 C2008: '$' : unexpected in macro definition
C:\Program Files\Microsoft SDKs\Windows\v7.0A\include\driverspecs.h(321) : warni
ng C4005: '__' : macro redefinition
        C:\Program Files\Microsoft SDKs\Windows\v7.0A\include\driverspecs.h(317)
 : see previous definition of '__'
C:\Program Files\Microsoft SDKs\Windows\v7.0A\include\winnt.h(1202) : error C201
8: unknown character '0x24'
C:\Program Files\Microsoft SDKs\Windows\v7.0A\include\winnt.h(1202) : error C206
1: syntax error : identifier 'drv_group'
C:\Program Files\Microsoft SDKs\Windows\v7.0A\include\winnt.h(1202) : error C205
9: syntax error : ';'
C:\Program Files\Microsoft SDKs\Windows\v7.0A\include\winnt.h(1210) : error C208
5: 'EXCEPTION_ROUTINE' : not in formal parameter list
C:\Program Files\Microsoft SDKs\Windows\v7.0A\include\winnt.h(1212) : error C208
5: 'EXCEPTION_ROUTINE' : not in formal parameter list
C:\Program Files\Microsoft SDKs\Windows\v7.0A\include\winnt.h(1212) : error C214
3: syntax error : missing ';' before '*'
C:\Program Files\Microsoft SDKs\Windows\v7.0A\include\winnt.h(2199) : fatal erro
r C1903: unable to recover from previous error(s); stopping compilation
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 10.0\VC\BI
N\cl.EXE"' : return code '0x2'
Stop.



More information about the so mailing list