Timeline for C++ printf no longer works after declaring an std::string
Current License: CC BY-SA 3.0
20 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 17, 2016 at 18:32 | history | edited | echawkes | CC BY-SA 3.0 |
Solved: I downgraded g++
|
Jan 17, 2016 at 4:47 | comment | added | echawkes | @GeorgeHoupis That was very helpful. I downgraded to g++ 4.9.3 and it worked right away. | |
Jan 17, 2016 at 4:23 | history | edited | echawkes | CC BY-SA 3.0 |
It's failing to load DLLs
|
Jan 17, 2016 at 3:51 | comment | added | George Houpis | I think it has something to do with cyggcc_s-seh-1.dll when built on cygwin's 64-bit gcc 5.x.x. Try compiling it static and see if that works. (stackoverflow.com/questions/34804384/…) | |
Jan 17, 2016 at 3:17 | history | edited | echawkes | CC BY-SA 3.0 |
No longer thinking it is caused by Anti-Virus
|
Jan 17, 2016 at 1:08 | comment | added | grifcj | I tried it on my Cygwin64 with gcc 4.9.3 and worked no problems. | |
Jan 17, 2016 at 0:24 | history | edited | echawkes | CC BY-SA 3.0 |
Update: it does not seem to be caused by Avast Anti-Virus
|
Jan 16, 2016 at 22:25 | review | Close votes | |||
Jan 20, 2016 at 0:01 | |||||
Jan 16, 2016 at 21:35 | comment | added | echawkes | Disabling Avast completely (from the UI) doesn't seem to have helped, either. Thanks to the comments, I think it's probably Avast or something else rather than my own code. Note: when I used Avast to scan a.exe, it did not identify it as a threat. | |
Jan 16, 2016 at 21:03 | comment | added | echawkes | Sigh. Yes, I recently switched to Avast. Excluding my directory isn't helping, though. I'll keep trying. | |
Jan 16, 2016 at 20:46 | comment | added | Bo Persson | For the second time today - Are you by any chance using Avast antivirus? Running my C++ code gives me a blank console | |
Jan 16, 2016 at 20:44 | comment | added | Alexis Pierru |
Why are you using printf in C++ ?
|
|
Jan 16, 2016 at 20:41 | comment | added | Ilya |
Is it the same if you include cstdio instead of stdio.h ?
|
|
S Jan 16, 2016 at 20:34 | history | edited | Mykola | CC BY-SA 3.0 |
Added Tag for Cygwin and g++ since these may be part of the problem.
|
S Jan 16, 2016 at 20:34 | history | suggested | Timothy Murphy |
Added Tag for Cygwin and g++ since these may be part of the problem.
|
|
Jan 16, 2016 at 20:25 | comment | added | Zeta | Cannot confirm, runs fine in g++ (Rev3, Built by MSYS2 project) 5.2.0 on Windows 8.1 64bit in PowerShell. Might be something in Cygwin+GCC? | |
Jan 16, 2016 at 20:23 | review | Suggested edits | |||
S Jan 16, 2016 at 20:34 | |||||
Jan 16, 2016 at 20:20 | comment | added | Tomasz Jakub Rup | gcc 5.3.0 on linux - works fine | |
Jan 16, 2016 at 20:18 | comment | added | Luke Joshua Park | please don't respond with an admonition to use cout instead and then one minute later... @EdHeal | |
Jan 16, 2016 at 20:15 | history | asked | echawkes | CC BY-SA 3.0 |