问题描述
大家好
我的问题很简单,当我编译程序(一组文件源(和文件头))时,出现以下错误消息:
错误:代表"coef"的冲突代表
注意:之前的"coef"声明在这里
coef的声明如下:
typedef struct {float c [6];} coef;
Hello everybody
My question is simple, when I compile my program ( a group of file source(, and of files headers) I have the following error message:
Error: conflicting typify for '' coef ''
Note: previsous declaration of '' coef '' was here
The declaration of coef is the following one:
typedef struct {float c[6];} coef;
该声明在文件.c
中在哪个conserne函数原型(位于fichier.h中)中,我也有相同的错误消息.
如果有人遇到了相同的错误,要么他对问题有想法:(
This declaration is in a file .c
I also have the same error message in what conserne prototype of function (which is in a fichier.h)
If somebody has confronted to the same error , either that he have an idea of the probleme :(
推荐答案
// fichier.h
#ifndef __FICHIER_H__
#define __FICHIER_H__
// declarations here...
// ...
#endif // __FICHIER_H__
这篇关于编译错误(我使用code :: blocks)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!