User forums > General (but related to Code::Blocks)
Cannot evaluate function -- may be inlined
oBFusCATed:
Both of you are fun to read :)
Both are half-trolls, by the way :)
Unfortunately, I've run out of Coke :(, but if you continue in this fashion, I'll have to go to get some.
smallB: please put a description for you links, because the links look random.
--- Quote from: smallB on November 06, 2011, 08:21:20 pm ---2. Cannot explain - don't know, probably have some settings wrongly set. That's one of the reasons I'm asking here for help.
--- End quote ---
I can, you have different values for c++ compiler and linker.
Please go to your toolchain settings and hit auto detect :)
Then read a gdb manual and try some command line debugging.
You can enable the full log from the debugger, not the normal one, but the debugger's debug log, which should be enabled in the debugger's settings.
And post it here.
If you post the normal debug log, I'll ignore the topic, so read carefully!
p.s. please use code tags for pastes embedded in the posts.
smallB:
@obfuscated
1. After hitting auto detect I still see mingw32-g++.exe as a linker. Am I suppose to have g++ as a linker too? If needs be I'm prepared to make video file with camtasia and post it.
2. In settings/debugger/common: display debugger's log - that box I've checked just now.
3. Is the debuger's log now displayed in logs and others on build log tab instead of the regular one? if so that's the log if not I do not now where is it saved as there seems to be no path specified:
-------------- Clean: Debug in 7500 ---------------
Cleaned "7500 - Debug"
-------------- Build: Debug in 7500 ---------------
g++.exe -Wall -g -std=c++0x -Wextra -Wall -g -std=c++0x -Wfatal-errors -Wextra -Wall -g -IC:\excercizes\QT_projects\7500 -IC:\excercizes\QT_projects\7500 -c C:\excercizes\QT_projects\7500\main.cpp -o obj\Debug\main.o
C:\excercizes\QT_projects\7500\main.cpp:4:9: warning: unused parameter 'argc' [-Wunused-parameter]
C:\excercizes\QT_projects\7500\main.cpp:4:9: warning: unused parameter 'argv' [-Wunused-parameter]
mingw32-g++.exe -LC:\QtSDK\Desktop\Qt\4.7.4\mingw\lib -o bin\Debug\7500.exe obj\Debug\main.o
Output size is 75.46 KB
Process terminated with status 0 (0 minutes, 1 seconds)
0 errors, 2 warnings (0 minutes, 1 seconds)
Build log saved as:
file://C:/excercizes/QT_projects/7500/7500_build_log.html
Thanks
P.S. gotta go, will check your answer tomorrow.
oBFusCATed:
Hm, you're not reading mate!
I've said the debugger's debug log, you're pasting me the compiler's log.
I've said use code tags, you're pasting directly.
Please don't waste our time.
This is pretty strange that auto-detect is putting the g++ and mingw32-g++.exe in the options. I don't know what are the correct values for windows. So other dev should tell.
stahta01:
--- Quote from: oBFusCATed on November 06, 2011, 08:45:45 pm ---This is pretty strange that auto-detect is putting the g++ and mingw32-g++.exe in the options. I don't know what are the correct values for windows. So other dev should tell.
--- End quote ---
Confirmed with CB 10.05; if they are manually set to g++ and mingw32-g++.exe in the options; doing auto detect will not change them to the normal values.
I consider the above the correct way to do it; just not the way I expected to happen
Tim S.
Jenna:
g++.exe and mingw32-g++.exe are the same in most cases, but in broken installs, they might differ, so use either the one or the other in both places (same is for gcc, either with or without mingw32-prefix, but the same as for g++).
And you really should learn to read and follow the advices you get.
And the debuggers debug-log is not really hard to find, it's in "Logs & others" like the other logs, maybe you should search for it.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version