Problem with VC++ compiler
- From: tfawcet@xxxxxxxxx
- Date: 19 Feb 2007 11:16:16 -0800
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.
.
- Follow-Ups:
- Re: Problem with VC++ compiler
- From: CBFalconer
- Re: Problem with VC++ compiler
- From: jacob navia
- Re: Problem with VC++ compiler
- Prev by Date: Re: Difference between the stack and the heap?
- Next by Date: Re: Requesting advice how to clean up C code for validating string represents integer
- Previous by thread: pointer representation: style or substance?
- Next by thread: Re: Problem with VC++ compiler
- Index(es):
Relevant Pages
|