[so] compilare pe windows ...

Dragos Valentin Moinescu dragos.moinescu at gmail.com
Wed Apr 1 20:49:54 EEST 2009


... primesc warninguri din parser.yy.c si parser.tab.c. Din fisierul
meu, main-windows.c nu iese niciun warning, insa mi se depuncteaza
tema cu 1 pct.

cl /nologo /W4 /D_CRT_SECURE_NO_WARNINGS /D_CRT_SECURE_NO_DEPRECATE
/Wp64 /c /Fo./parser.tab.obj ./parser.tab.c
cl : Command line warning D9035 : option 'Wp64' has been deprecated
and will be removed in a future release
parser.tab.c
parser.tab.c(533) : warning C4565: 'malloc' : redefinition; the symbol
was previously declared with __declspec(restrict)
parser.tab.c(533) : warning C4565: 'malloc' : redefinition; the symbol
was previously declared with __declspec(noalias)
parser.tab.c(540) : warning C4565: 'free' : redefinition; the symbol
was previously declared with __declspec(noalias)
parser.tab.c(1517) : warning C4244: '=' : conversion from 'int' to
'yytype_int16', possible loss of data
parser.tab.c(1563) : warning C4127: conditional expression is constant
parser.tab.c(1563) : warning C4127: conditional expression is constant
parser.tab.c(1564) : warning C4127: conditional expression is constant
parser.tab.c(1564) : warning C4127: conditional expression is constant
parser.tab.c(1565) : warning C4127: conditional expression is constant
parser.tab.c(1565) : warning C4127: conditional expression is constant
parser.tab.c(1684) : warning C4127: conditional expression is constant
parser.tab.c(2185) : warning C4127: conditional expression is constant
parser.tab.c(2238) : warning C4127: conditional expression is constant
parser.tab.c(2238) : warning C4127: conditional expression is constant
c:\cygwin\home\so\parser.tab.c(2188) : warning C4702: unreachable code
	cl /nologo /W4 /D_CRT_SECURE_NO_WARNINGS /D_CRT_SECURE_NO_DEPRECATE
/Wp64 /c /Fo./parser.yy.obj ./parser.yy.c
cl : Command line warning D9035 : option 'Wp64' has been deprecated
and will be removed in a future release
parser.yy.c
parser.yy.c(765) : warning C4127: conditional expression is constant
parser.yy.c(781) : warning C4244: 'initializing' : conversion from
'flex_int32_t' to 'YY_CHAR', possible loss of data
parser.yy.c(791) : warning C4244: '=' : conversion from 'flex_int32_t'
to 'YY_CHAR', possible loss of data
parser.yy.c(803) : warning C4267: '=' : conversion from 'size_t' to
'int', possible loss of data
parser.yy.c(1258) : warning C4267: 'initializing' : conversion from
'size_t' to 'int', possible loss of data
parser.yy.c(1271) : warning C4267: 'initializing' : conversion from
'size_t' to 'int', possible loss of data
parser.yy.c(1293) : warning C4267: '=' : conversion from 'size_t' to
'int', possible loss of data
parser.yy.c(1302) : warning C4018: '<' : signed/unsigned mismatch
parser.yy.c(1302) : warning C4267: '=' : conversion from 'size_t' to
'int', possible loss of data
parser.yy.c(1354) : warning C4244: 'initializing' : conversion from
'int' to 'YY_CHAR', possible loss of data
parser.yy.c(1364) : warning C4244: '=' : conversion from
'flex_int32_t' to 'YY_CHAR', possible loss of data
parser.yy.c(1392) : warning C4244: '=' : conversion from
'flex_int32_t' to 'YY_CHAR', possible loss of data
parser.yy.c(1723) : warning C4267: '=' : conversion from 'size_t' to
'int', possible loss of data
parser.yy.c(1761) : warning C4267: '=' : conversion from 'size_t' to
'int', possible loss of data
parser.yy.c(1783) : warning C4267: 'function' : conversion from
'size_t' to 'int', possible loss of data
parser.l(243) : warning C4090: 'function' : different 'const' qualifiers
	cl /nologo /W4 /D_CRT_SECURE_NO_WARNINGS /D_CRT_SECURE_NO_DEPRECATE
/Wp64 /c /Fo./main-windows.obj ./main-windows.c
cl : Command line warning D9035 : option 'Wp64' has been deprecated
and will be removed in a future release
main-windows.c
	cl /nologo /W4 /D_CRT_SECURE_NO_WARNINGS /D_CRT_SECURE_NO_DEPRECATE
/Wp64 /Fe./mini-shell /MDd /Fd./tema1.pdb ./parser.tab.obj
./parser.yy.obj ./main-windows.obj
cl : Command line warning D9035 : option 'Wp64' has been deprecated
and will be removed in a future release
checker: building done
make: `build-post' is up to date.
-1:  compilarea a produs 31 warning-uri


cum as putea rezolva acest lucru?

va multumesc

-- 
Best regards,
Dragos Moinescu


More information about the so mailing list