I am running Code::Blocks version Code::BlocksVersionNumber on MyOperatingSystem
(version OperatingSystemVersionNumber). The compiler I use is GNU CC compiler
version No idea.
When I build istream appears with a bunch of errors
Steps to reproduce problem. Try to build any code.
Description of problem.
Istream opens and it doesn´t build.
Build log:
[ 50.0%] mingw32-g++.exe -c C:\Users\Parveln\Desktop\Code\apa.cpp -o C:\Users\Parveln\Desktop\Code\apa.o
In file included from c:\program files (x86)\codeblocks\mingw\bin\../lib/gcc/mingw32/4.7.1/include/c++/iostream:41:0,
from C:\Users\Parveln\Desktop\Code\apa.cpp:1:
c:\program files (x86)\codeblocks\mingw\bin\../lib/gcc/mingw32/4.7.1/include/c++/istream:579:2: error: invalid preprocessing directive #end
In file included from c:\program files (x86)\codeblocks\mingw\bin\../lib/gcc/mingw32/4.7.1/include/c++/iostream:41:0,
from C:\Users\Parveln\Desktop\Code\apa.cpp:1:
c:\program files (x86)\codeblocks\mingw\bin\../lib/gcc/mingw32/4.7.1/include/c++/istream:2:8: error: expected unqualified-id before '/' token
c:\program files (x86)\codeblocks\mingw\bin\../lib/gcc/mingw32/4.7.1/include/c++/istream:2:8: error: expected constructor, destructor, or type conversion before '/' token
c:\program files (x86)\codeblocks\mingw\bin\../lib/gcc/mingw32/4.7.1/include/c++/istream:17:7: error: '__istream_type' does not name a type
c:\program files (x86)\codeblocks\mingw\bin\../lib/gcc/mingw32/4.7.1/include/c++/istream:44:7: error: '__istream_type' does not name a type
c:\program files (x86)\codeblocks\mingw\bin\../lib/gcc/mingw32/4.7.1/include/c++/istream:55:7: error: '__istream_type' does not name a type
c:\program files (x86)\codeblocks\mingw\bin\../lib/gcc/mingw32/4.7.1/include/c++/istream:78:7: error: '__istream_type' does not name a type
c:\program files (x86)\codeblocks\mingw\bin\../lib/gcc/mingw32/4.7.1/include/c++/istream:88:7: error: '__istream_type' does not name a type
c:\program files (x86)\codeblocks\mingw\bin\../lib/gcc/mingw32/4.7.1/include/c++/istream:117:7: error: '__istream_type' does not name a type
c:\program files (x86)\codeblocks\mingw\bin\../lib/gcc/mingw32/4.7.1/include/c++/istream:128:7: error: '__istream_type' does not name a type
c:\program files (x86)\codeblocks\mingw\bin\../lib/gcc/mingw32/4.7.1/include/c++/istream:152:7: error: '__istream_type' does not name a type
c:\program files (x86)\codeblocks\mingw\bin\../lib/gcc/mingw32/4.7.1/include/c++/istream:155:7: error: '__istream_type' does not name a type
c:\program files (x86)\codeblocks\mingw\bin\../lib/gcc/mingw32/4.7.1/include/c++/istream:158:7: error: '__istream_type' does not name a type
c:\program files (x86)\codeblocks\mingw\bin\../lib/gcc/mingw32/4.7.1/include/c++/istream:169:7: error: 'int_type' does not name a type
c:\program files (x86)\codeblocks\mingw\bin\../lib/gcc/mingw32/4.7.1/include/c++/istream:187:7: error: '__istream_type' does not name a type
c:\program files (x86)\codeblocks\mingw\bin\../lib/gcc/mingw32/4.7.1/include/c++/istream:206:7: error: 'streamsize' does not name a type
c:\program files (x86)\codeblocks\mingw\bin\../lib/gcc/mingw32/4.7.1/include/c++/istream:223:7: error: '__istream_type' does not name a type
c:\program files (x86)\codeblocks\mingw\bin\../lib/gcc/mingw32/4.7.1/include/c++/istream:239:7: error: '__istream_type' does not name a type
c:\program files (x86)\codeblocks\mingw\bin\../lib/gcc/mingw32/4.7.1/include/c++/istream:272:7: error: 'pos_type' does not name a type
c:\program files (x86)\codeblocks\mingw\bin\../lib/gcc/mingw32/4.7.1/include/c++/istream:287:7: error: '__istream_type' does not name a type
c:\program files (x86)\codeblocks\mingw\bin\../lib/gcc/mingw32/4.7.1/include/c++/istream:303:7: error: '__istream_type' does not name a type
c:\program files (x86)\codeblocks\mingw\bin\../lib/gcc/mingw32/4.7.1/include/c++/istream:307:5: error: expected unqualified-id before 'protected'
c:\program files (x86)\codeblocks\mingw\bin\../lib/gcc/mingw32/4.7.1/include/c++/istream:313:2: error: '__istream_type' does not name a type
c:\program files (x86)\codeblocks\mingw\bin\../lib/gcc/mingw32/4.7.1/include/c++/istream:315:5: error: expected declaration before '}' token
Process terminated with status 1 (0 minutes, 0 seconds)
24 errors, 0 warnings (0 minutes, 0 seconds)
Crash report:
I have already tried: auto detecting in toolchain executables.
List of attempted solutions.
auto detecting in toolchain executables but none of them worked.