Click here to Skip to main content
14,389,354 members

C / C++ / MFC

 
SuggestionRe: zero-sized array in struct/union Pin
Richard MacCutchan5-Aug-19 23:44
mveRichard MacCutchan5-Aug-19 23:44 
GeneralRe: zero-sized array in struct/union Pin
Stefan_Lang6-Aug-19 22:58
MemberStefan_Lang6-Aug-19 22:58 
GeneralRe: zero-sized array in struct/union Pin
_Flaviu5-Aug-19 23:53
Member_Flaviu5-Aug-19 23:53 
Questionerror C2143 error C2059 Pin
_Flaviu31-Jul-19 2:03
Member_Flaviu31-Jul-19 2:03 
QuestionRe: error C2143 error C2059 Pin
Richard MacCutchan31-Jul-19 3:01
mveRichard MacCutchan31-Jul-19 3:01 
AnswerRe: error C2143 error C2059 Pin
_Flaviu31-Jul-19 3:38
Member_Flaviu31-Jul-19 3:38 
GeneralRe: error C2143 error C2059 Pin
Richard MacCutchan31-Jul-19 3:54
mveRichard MacCutchan31-Jul-19 3:54 
GeneralRe: error C2143 error C2059 Pin
_Flaviu31-Jul-19 4:27
Member_Flaviu31-Jul-19 4:27 
I have tried in this way:
if (struct_cmp(&geometry->part_type, &GEOM_TYPE_X) == 0)
no changes.
Here is the geometry object:
typedef struct geometry_struct geometry_t;

struct geometry_struct
{
    char          name[128];
    char          info[128];
    unsigned long long      org_offset;
    unsigned long long      sb_offset;
    unsigned int  sb_size;
    air_t    part_type;
    unsigned int  geom_type;
    status_type_t status;
    unsigned int  order;
    errcode_type_t errcode;
    const fnct_t *air;
};

GeneralRe: error C2143 error C2059 Pin
Richard MacCutchan31-Jul-19 5:03
mveRichard MacCutchan31-Jul-19 5:03 
GeneralRe: error C2143 error C2059 Pin
_Flaviu31-Jul-19 23:01
Member_Flaviu31-Jul-19 23:01 
GeneralRe: error C2143 error C2059 Pin
k505431-Jul-19 6:39
Memberk505431-Jul-19 6:39 
GeneralRe: error C2143 error C2059 Pin
_Flaviu31-Jul-19 22:06
Member_Flaviu31-Jul-19 22:06 
QuestionRe: error C2143 error C2059 Pin
David Crow1-Aug-19 4:22
MemberDavid Crow1-Aug-19 4:22 
AnswerRe: error C2143 error C2059 Pin
k50541-Aug-19 5:28
Memberk50541-Aug-19 5:28 
GeneralRe: error C2143 error C2059 Pin
k50541-Aug-19 4:57
Memberk50541-Aug-19 4:57 
GeneralRe: error C2143 error C2059 Pin
Richard MacCutchan31-Jul-19 22:32
mveRichard MacCutchan31-Jul-19 22:32 
GeneralRe: error C2143 error C2059 Pin
Peter_in_27801-Aug-19 1:53
professionalPeter_in_27801-Aug-19 1:53 
GeneralRe: error C2143 error C2059 Pin
Richard MacCutchan1-Aug-19 2:31
mveRichard MacCutchan1-Aug-19 2:31 
QuestionBest way to call REST Service from C++ Pin
ptr_Electron24-Jul-19 23:50
Memberptr_Electron24-Jul-19 23:50 
AnswerRe: Best way to call REST Service from C++ Pin
Gerry Schmitz25-Jul-19 3:49
mveGerry Schmitz25-Jul-19 3:49 
QuestionRe: Best way to call REST Service from C++ Pin
Richard MacCutchan25-Jul-19 4:52
mveRichard MacCutchan25-Jul-19 4:52 
AnswerRe: Best way to call REST Service from C++ Pin
Gerry Schmitz25-Jul-19 11:13
mveGerry Schmitz25-Jul-19 11:13 
GeneralRe: Best way to call REST Service from C++ Pin
Richard MacCutchan25-Jul-19 23:31
mveRichard MacCutchan25-Jul-19 23:31 
GeneralRe: Best way to call REST Service from C++ Pin
Gerry Schmitz25-Jul-19 23:48
mveGerry Schmitz25-Jul-19 23:48 
GeneralRe: Best way to call REST Service from C++ Pin
Richard MacCutchan26-Jul-19 0:29
mveRichard MacCutchan26-Jul-19 0:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.