Click here to Skip to main content
15,796,885 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: zero-sized array in struct/union Pin
Richard MacCutchan5-Aug-19 23:43
mveRichard MacCutchan5-Aug-19 23:43 
GeneralRe: zero-sized array in struct/union Pin
Stefan_Lang6-Aug-19 22:53
Stefan_Lang6-Aug-19 22:53 
GeneralRe: zero-sized array in struct/union Pin
Richard MacCutchan7-Aug-19 2:27
mveRichard MacCutchan7-Aug-19 2:27 
GeneralGet rid of the [] Pin
Davie212406-Aug-19 11:19
Davie212406-Aug-19 11:19 
AnswerRe: zero-sized array in struct/union Pin
CPallini5-Aug-19 23:32
mveCPallini5-Aug-19 23:32 
GeneralRe: zero-sized array in struct/union Pin
_Flaviu5-Aug-19 23:41
_Flaviu5-Aug-19 23:41 
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
Stefan_Lang6-Aug-19 22:58 
Don't disable warnings unless you are 100% sure what they're telling you, 100% sure that this is not a problem for the syntactic and semantic functionality of your code, and at least 90% sure there's no reasonable way to avoid them.

Under these conditions, the best way is to use #pragma push immediately before the disable command and #pragma pop after the code that causes the warning. That way you can be sure that the remainder of the code will use the same warning settings as defined in the compiler options.
GOTOs are a bit like wire coat hangers: they tend to breed in the darkness, such that where there once were few, eventually there are many, and the program's architecture collapses beneath them. (Fran Poretto)

GeneralRe: zero-sized array in struct/union Pin
_Flaviu5-Aug-19 23:53
_Flaviu5-Aug-19 23:53 
Questionerror C2143 error C2059 Pin
_Flaviu31-Jul-19 2:03
_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
_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
_Flaviu31-Jul-19 4:27 
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
_Flaviu31-Jul-19 23:01 
GeneralRe: error C2143 error C2059 Pin
k505431-Jul-19 6:39
mvek505431-Jul-19 6:39 
GeneralRe: error C2143 error C2059 Pin
_Flaviu31-Jul-19 22:06
_Flaviu31-Jul-19 22:06 
QuestionRe: error C2143 error C2059 Pin
David Crow1-Aug-19 4:22
David Crow1-Aug-19 4:22 
AnswerRe: error C2143 error C2059 Pin
k50541-Aug-19 5:28
mvek50541-Aug-19 5:28 
GeneralRe: error C2143 error C2059 Pin
k50541-Aug-19 4:57
mvek50541-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
ptr_Electron24-Jul-19 23:50 

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.