T
tfawcet
I am having a problem with the Visual C++ compiler with the following
error
c:\rgb.h(7) : error C2371: 'pix_t' : redefinition; different basic
types
This refers to a typedef that I have written in the code. The code
will compile with the GNU compiler and I was trying to port it to VC+
+. Here is the typedef as it appears
typedef struct {
double red;
double green;
double blue;
}pix_t;
Any help would be appreciated. Thanks.
error
c:\rgb.h(7) : error C2371: 'pix_t' : redefinition; different basic
types
This refers to a typedef that I have written in the code. The code
will compile with the GNU compiler and I was trying to port it to VC+
+. Here is the typedef as it appears
typedef struct {
double red;
double green;
double blue;
}pix_t;
Any help would be appreciated. Thanks.