这里是怎么解决啊 ????

来源:百度知道 编辑:UC知道 时间:2024/06/07 08:46:12
warning C4244: 'return' : conversion from 'unsigned __int64' to 'int', possible loss of data

warning C4035: 'cyclecount' : no return value
Linking...
LINK : warning LNK4108: /ALIGN specified without /DRIVER or /VXD; image may not run

warning C4244: 'return' : conversion from 'unsigned __int64' to 'int', possible loss of data
这是因为你在一个函数中返回了一个unsigned int的值,但是在调用的地方,接受这个值的变量是int型的,所以可能有数据的丢失的

warning C4035: 'cyclecount' : no return value
这是因为你的cyclecount函数在声明时,是非void型的(有返回值),
但是在这个函数的函数体中,并没有return处理

还有一个:
LINK : warning LNK4108: /ALIGN specified without /DRIVER or /VXD; image may not run

/ALIGN 方法被指定了,但是并没有任何/DRIVER或者/VXD的建立.
系统在加载图片时可能会失败,建议只有在建立了一个/DRIVER或者/VXD后,在使用/ALIGN。
这个一般不用管它

1.warning C4244: 'return' : conversion from 'unsigned __int64' to 'int', possible loss of data
<1.>C2444是警告号。
<2.>return说明警告发生在return语句。
<3.>警告信息是:从64位无符号整型转变到整型可能丢失信息。

2.warning C4035: 'cyclecount' : no return value
<1.>C2444是警告号。
<2.>警告发生在cyclecount函数。
<3.>说明这个函数没有返回值,而你在这个函数中可能写了return语句,导至出现该警告。

3.Linking.