一个暂且说的过去的解释 The method is static because otherwise there would be ambiguity: which constructor should be called? Especially if your class looks like this: public class JavaClass{ protected JavaClass(int x){} public void main(String[] args){ } } Shoul…
1. warning: #767-D: conversion from pointer to smaller integer 解释:将指针转换为较小的整数 影响:可能造成的影响:容易引起数据截断,造成不必要的数据丢失.如果出现bug,很难调试. 改正:尽量避免这种转换,避免不了要确定转换的数据不会引起数据丢失. 2. warning: #177-D:variable "i" was declared but never referenced 解释:变量i定义了,但是没有使用 影…
1.keil重选则器件 2. 移植FREERTOS出错 .\Objects\RTOSDemo.axf: Error: L6406E: No space in execution regions with .ANY selector matching startup_stm32f10x_hd.o(STACK). .\Objects\RTOSDemo.axf: Error: L6406E: No space in execution regions with .ANY selector matchi…
1. warning: #767-D: conversion from pointer to smaller integer 解释:将指针转换为较小的整数 影响:可能造成的影响:容易引起数据截断,造成不必要的数据丢失.如果出现bug,很难调试. 改正:尽量避免这种转换,避免不了要确定转换的数据不会引起数据丢失. 2. warning: #177-D:variable "i" was declared but never referenced 解释:变量i定义了,但是没有使用 影响:没有…