xiepeilin 发表于 2010-5-11 17:00:33

MDK编译时候出现变量重定义怎么处理?

最佳在编译的时候总是出现..\Libraries\inc\stm32f10x_type.h(33): error:#256: invalid redeclaration of type name "vs32" (declared at line 320 of "C:\Keil\ARM\INC\ST\STM32F10x\stm32f10x.h")怎么处理啊?stm32f10x_type.h是文件自动调用的,stm32_eth.c这个文件里只包含了include "stm32_eth.h"和#include "stm32f10x_rcc.h"没有包含stm32f10x_type.h和stm32f10x.h而stm32f10x_type.h和stm32f10x.h编译时候都说相互重复声明
望大家给个意见啊?非常感谢!
页: [1]
查看完整版本: MDK编译时候出现变量重定义怎么处理?