Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Field ' ' could not be resolved
Field ' ' could not be resolved [message #924632] Wed, 26 September 2012 22:12
Bob Zhang is currently offline Bob Zhang
Messages: 1
Registered: September 2012
Junior Member
I had some code as follows, when I opened my project, some errors appeared like
Field ' ' could not be resolved.
Please help me to solve the problem ,thx!


typedef struct
    int a;
} ctx_t;



typedef struct
    int b;
} ctx_t;


#include "a.h"

void func()
    ctx_t *ctx = calloc(1, sizeof(ctx_t));
    ctx->a = 9; //[u][b]here I got the error: Field 'a' could not be resolved[/b][/u]
Previous Topic:eclipse mac won't recognize already existing java programs
Next Topic:Suspiciously high number of pre-processor statements in the IASTTranslationUnit
Goto Forum:

Current Time: Wed Aug 20 16:32:15 EDT 2014

Powered by FUDForum. Page generated in 0.01771 seconds