Bug #19274 2014-02-03 01:39

muyuan

Full Command Logging dosen't work

new installed CodeBlocks v13.12 in Windows 7

Compiler mingw-w64

Create a Console C++ Application "Hello World"

just change

#include <iostream>

to

#include <fstream>

then rebuild it to

see in Build log:

-------------- Clean: Debug in readtxt (compiler: GNU GCC Compiler)---------------

Cleaned "readtxt - Debug"

-------------- Build: Debug in readtxt (compiler: GNU GCC Compiler)---------------

[ 50.0%] x86_64-w64-mingw32-g++.exe -Wall -fexceptions -g -c D:\workspace\codeblocks\cpp\readtxt\main.cpp -o obj\Debug\main.o

Process terminated with status 1 (0 minute(s), 0 second(s))

0 error(s), 0 warning(s) (0 minute(s), 0 second(s))

see in Command windows:

PS D:\workspace\codeblocks\cpp\readtxt> x86_64-w64-mingw32-g++.exe -Wall -fexceptions -g -c D:\workspace\codeblocks\cpp

\readtxt\main.cpp -o obj\Debug\main.o

D:\workspace\codeblocks\cpp\readtxt\main.cpp: In function 'int main()':

D:\workspace\codeblocks\cpp\readtxt\main.cpp:7:5: error: 'cout' was not declared in this scope

cout << "Hello world!" << endl;

^

Already set

[settings]->[Compiler]->[Glocal compiler settings]->[Other settings]->[Compiler logging]

to 'Full command line'

so it seems Full command logging dosen't work here.

Category
Compiler
Group
Platform:Windows
Status
Open
Close date
 
Assigned to