Click here to Skip to main content
15,886,799 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Error 12029 WinHTTP Pin
Victor Nijegorodov13-Sep-19 2:26
Victor Nijegorodov13-Sep-19 2:26 
GeneralRe: Error 12029 WinHTTP Pin
Diprom13-Sep-19 2:30
Diprom13-Sep-19 2:30 
GeneralRe: Error 12029 WinHTTP Pin
Victor Nijegorodov13-Sep-19 2:38
Victor Nijegorodov13-Sep-19 2:38 
AnswerRe: Error 12029 WinHTTP Pin
Randor 14-Sep-19 3:03
professional Randor 14-Sep-19 3:03 
QuestionVisual Studio 2017 C++ Static analyzer (or in ReSharper C++) Pin
Maximilien12-Sep-19 4:21
Maximilien12-Sep-19 4:21 
AnswerRe: Visual Studio 2017 C++ Static analyzer (or in ReSharper C++) Pin
Stefan_Lang12-Sep-19 5:33
Stefan_Lang12-Sep-19 5:33 
AnswerRe: Visual Studio 2017 C++ Static analyzer (or in ReSharper C++) Pin
CPallini12-Sep-19 21:08
mveCPallini12-Sep-19 21:08 
GeneralRe: Visual Studio 2017 C++ Static analyzer (or in ReSharper C++) Pin
Stefan_Lang12-Sep-19 22:19
Stefan_Lang12-Sep-19 22:19 
I've tried online GDB because I don't trust VS to be 100% standards comform, and it does the same. (not sure how to set warning level though; but it's gcc, so I wouldn't expect a different result than you). Then I looked up order of initialization, and although there are pretty detailed descriptions on the order of initializations of the stuff mentioned in a constructor, I haven't found a hint on when a static initialization is taking place!

Btw.: interesting choice of names! You forgot Loo, though Wink | ;-)

P.S.:
While online GDB also does not offer a warning, it does generate a different result when run:
a 0, b 5
a 32764, b 5
a 0, b 5

I'm not sure what to make of this Confused | :confused:



P.P.S.: link to onlinegdb:
https://www.onlinegdb.com/online_c++_compiler[^]
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)


modified 13-Sep-19 4:24am.

GeneralRe: Visual Studio 2017 C++ Static analyzer (or in ReSharper C++) Pin
Stefan_Lang12-Sep-19 23:26
Stefan_Lang12-Sep-19 23:26 
AnswerRe: Visual Studio 2017 C++ Static analyzer (or in ReSharper C++) Pin
Stefan_Lang12-Sep-19 22:46
Stefan_Lang12-Sep-19 22:46 
QuestionMFC VC++ ListCtrl Pin
Member 1457555612-Sep-19 1:23
Member 1457555612-Sep-19 1:23 
AnswerRe: MFC VC++ ListCtrl Pin
CPallini12-Sep-19 1:32
mveCPallini12-Sep-19 1:32 
GeneralRe: MFC VC++ ListCtrl Pin
Member 1457555612-Sep-19 1:41
Member 1457555612-Sep-19 1:41 
GeneralRe: MFC VC++ ListCtrl Pin
Richard MacCutchan12-Sep-19 1:45
mveRichard MacCutchan12-Sep-19 1:45 
AnswerRe: MFC VC++ ListCtrl Pin
Victor Nijegorodov12-Sep-19 1:41
Victor Nijegorodov12-Sep-19 1:41 
QuestionRe: MFC VC++ ListCtrl Pin
David Crow12-Sep-19 7:26
David Crow12-Sep-19 7:26 
Questionfast return of data to the server Pin
Diprom11-Sep-19 22:36
Diprom11-Sep-19 22:36 
AnswerRe: fast return of data to the server Pin
Diprom11-Sep-19 23:11
Diprom11-Sep-19 23:11 
GeneralRe: fast return of data to the server Pin
Stefan_Lang12-Sep-19 6:02
Stefan_Lang12-Sep-19 6:02 
QuestionVirtual address of pointer keeps changing Pin
Rakanoth9-Sep-19 22:45
Rakanoth9-Sep-19 22:45 
AnswerRe: Virtual address of pointer keeps changing Pin
Richard MacCutchan9-Sep-19 23:18
mveRichard MacCutchan9-Sep-19 23:18 
GeneralRe: Virtual address of pointer keeps changing Pin
Rakanoth10-Sep-19 2:28
Rakanoth10-Sep-19 2:28 
GeneralRe: Virtual address of pointer keeps changing Pin
OriginalGriff10-Sep-19 2:29
mveOriginalGriff10-Sep-19 2:29 
GeneralRe: Virtual address of pointer keeps changing Pin
Rakanoth10-Sep-19 2:48
Rakanoth10-Sep-19 2:48 
GeneralRe: Virtual address of pointer keeps changing Pin
OriginalGriff10-Sep-19 3:04
mveOriginalGriff10-Sep-19 3:04 

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.